I am attempting to use Cloud9 IDE for the first time, and start a node.js project using the express module. I am able to install the module, but when I attempt to run the command
express ./myProjectHere
it's says
Command 'express' was not recognized
npm works, why doesn't express after installation?
Select the Run Panel to set the run configurations as follows:
name: express
path: node_modules/express/bin/express
cmd line args: ./your-app-name
Just remember to double click the express line item in the run panel after you have entered the command information.
Cloud9 IDE has some temporary locks on the run functionality within the IDE. If you attempt to open the run panel, and the fields are disabled then follow the following steps:
There are some additional steps, such as setting up dependencies, that I have covered in greater detail here:
Express Node To the Cloud
Hope this helps those who were seeing the same strange issues I was!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With