简体   繁体   English

npm我失败并显示错误消息?

[英]npm i fails with error message?

I try to config envirenment for launch tests on js. 我尝试为js的启动测试配置环境。 Windows10, python 2.7 Windows10,Python 2.7

After input command npm -i I have error message: 输入命令npm -i后,我出现错误信息: 在此处输入图片说明

I tried to use npm install --global --production windows-build-tools 我试图使用npm install --global --production Windows-build-tools

Try installing the react, if you check closely the error 'npm WARN react-markdown@3.4.1 requires a peer of react@^15.0.0 ...' 尝试安装React,如果您仔细检查错误“ npm WARN react-markdown@3.4.1需要对等体react@^15.0.0 ...”

npm install react --save

Also, you may try upgrading your react-native install. 另外,您可以尝试升级本机安装。 react-native is as v0.30.0 now react-native现在是v0.30.0

npm update react-native

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

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