Getting error, Error: Cannot find module ‘express’ after npm install

后端 未结 7 1740
囚心锁ツ
囚心锁ツ 2020-12-23 20:52

I am new to both Node JS and express, and I have just installed npm in Windows 7.

I have installed express using the global flag:

npm install -g expr         


        
相关标签:
7条回答
  • 2020-12-23 21:24

    Just be aware that the version as return by the express --version command will be the version of express-generator, not express.

    0 讨论(0)
提交回复
热议问题