Ran the following npm install -g express Then created the server code: express server express server Then installed the missing npm modules, from server directory: npm install Finally started the server