Tencent / wepy

小程序组件化开发框架
https://wepyjs.gitee.io/wepy-docs/
Other
22.51k stars 3.05k forks source link

npm install 失败 #1788

Closed gumutianqi closed 5 years ago

gumutianqi commented 6 years ago

使用的 wepy 版本:1.7.2

使用 wepy init standard my-project 创建了项目; 之后执行 npm install 报如下错误

image

Gcaufy commented 6 years ago

尝试升级或者重装一下 node 或者 npm 试试。

gumutianqi commented 6 years ago

@Gcaufy 测试后发现目前不支持 node 10.x 的版本,降级到8.x 版本后可以正常 npm install

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. 因为这个 Issue 最近没有任何有效回复,所以被自动标记为了stale。 如果在未来7天依旧没有任何激活操作,那么该 Issue 将会被自动关闭。 感谢您的提问。

Gcaufy commented 5 years ago

本地测试通过

➜  /tmp/test
 $ node -v
v10.11.0
➜  /tmp/test
 $ npm -v
6.4.1