Manually installing NPM packages

后端 未结 5 492
一个人的身影
一个人的身影 2021-01-02 02:47

I used the node windows installer v0.8.3 to install nodejs. When I try to install express like this:

npm install express

It\'s not working

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-02 03:27

    Try npm install .\express (assuming the express folder is in the current folder).

    The problem is that express in npm install express is parsed as a package name, while .\express in npm install .\express is parsed as a folder name.

提交回复
热议问题