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

后端 未结 7 1738
囚心锁ツ
囚心锁ツ 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:04

    Run cmd as administrator. It solved the 'express' not found problem in my case

提交回复
热议问题