[英]npm install from a git repository not working
I am trying to install modules hosted on github using npm install
. 我正在尝试使用
npm install
在github上托管的模块。 For example 例如
npm install git+https://github.com/balderdashy/enpeem.git
But this is not placing the module in the node_modules
folder. 但这并未将模块放置在
node_modules
文件夹中。 If I run with --verbose
flag, I can see that the module is getting fetched and going to appData
folder. 如果我使用
--verbose
标志运行,则可以看到该模块已被提取并进入appData
文件夹。
node -v v4.6.1
节点-v v4.6.1
npm -v 2.15.9
npm -v 2.15.9
What am I doing wrong here? 我在这里做错了什么?
将节点更新到v6.9.0解决了该问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.