简体   繁体   English

在npm安装线出现错误,为什么用ionic start创建一个离子项目

[英]error at npm install line, whyle creating an ionic project with ionic start

I am trying to create an ionic project by using 我正在尝试通过使用创建一个离子项目

ionic start myApp tabs --type=ionic-angular

but there's an error at npm install line. 但是npm安装行出现错误。 I've uninstall and reinstall node, but i still have the same problem. 我已经卸载并重新安装了节点,但是我仍然遇到相同的问题。 Look at the picture below to have a precise idea 看下面的图片有一个精确的想法

issue screen shoot in terminal 在终端发布屏幕截图

I hope you guys can help. 希望你们能帮上忙。 Thanks 谢谢

To fix this issue, I uninstalled node.js from the control pannel, after that, I deleted those folders C:\\Users\\userName\\AppData\\Roaming\\npm & C:\\Users\\userName\\AppData\\Roaming\\npm-cache. 为了解决此问题,我从控制面板中卸载了node.js,此后,我删除了这些文件夹C:\\ Users \\ userName \\ AppData \\ Roaming \\ npm和C:\\ Users \\ userName \\ AppData \\ Roaming \\ npm-cache。 And finally I reinstalled node.js and ionic. 最后,我重新安装了node.js和ionic。 Now everything is ok, i can create new projects again 现在一切正常,我可以再次创建新项目

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

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