Troubleshooting

Create a project using Express

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and Mac OS X) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). Learn more.

Express is a high-performance Web development framework for Node.js inspired by Sinatra.

Installing it is as simple as executing the commands below:

$ sudo npm -g install express
$ sudo npm -g install express-generator

Create a skeleton project by executing these commands. This will produce a new application in the projects/sample-application directory:

$ mkdir -p projects
$ cd projects
$ express sample-application

Install dependencies using npm:

$ cd sample-application
$ npm install

This will download and install the required dependencies into a node_modules directory under your project folder.