简体   繁体   English

在Windows 7上安装节点模块时出现错误

[英]I am getting error while installing node modules on windows 7

I am installing react-chartist and chartist on my windows 7 machine. 我正在Windows 7计算机上安装react-chartistchartist

I am using following commands in my CMD: 我在CMD中使用以下命令:

1) npm install react-chartist --save 1) npm install react-chartist --save

2) npm install chartist --save 2) npm install chartist --save

But I am getting error please check screenshot below: 但是我遇到错误,请检查以下屏幕截图:

在此处输入图片说明

在此处输入图片说明

From what i found out npm@5.4 has an issue on Windows. 据我发现,npm @ 5.4在Windows上存在问题。 Please try downgrading to 5.3 and see if that works for you. 请尝试降级到5.3,然后查看是否适合您。

npm install npm@5.3 -g

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM