Dhiresh Budhiraja
Dhiresh Budhiraja

Reputation: 99

Showing Error on using require('express')

I Have installed Express framework globally. When I am using it in app. it is showing error of not finding the module.

Upvotes: 0

Views: 39

Answers (1)

Danilo Miranda
Danilo Miranda

Reputation: 111

This error indicate that you didnt installed correctly the Express, I recommend to you install the Express locally on your project. Use this command:

//init your app
npm init
//install the express on your project
npm install express --save

See ya!

Upvotes: 2

Related Questions