Build Web Apps with Expressjs issue

Hi campers,

I have an issue with this exercise where when I follow instructions of…

Run this command: git clone https://github.com/FreeCodeCamp/fcc-expressworks.git && chmod 744 fcc-expressworks/setup.sh && fcc-expressworks/setup.sh && source ~/.profile

… and when I run the command expressworks, it gives me following error

ec2-user:~/environment $ expressworks
bash: expressworks: command not found

Can someone, please, help me out with this matter ?

Thanks in advance for any help.

Where exactly is this challenge?

When I clone that, I see that it creates a folder called 2. In that folder is a script called setup.sh. If I run that as [sudo] ./2/setup.sh, then expressworks runs.

Hi Kevin

https://www.freecodecamp.org/challenges/build-web-apps-with-expressjs

Here is the challenge that I was referring to.

My first post was based on running it locally.

When I do it in C9 and follow the directions, it works fine for me. Try it again and follow the directions exactly.

1 Like

It finally worked !

Thanks Kevin !