[英]npm not installed on for ionic projects
Good morning Experts, I am stuck for some strange reason on an ionic project I am trying to start up. 早上好,专家,由于某种奇怪的原因,我被困在一个我要启动的离子项目上。
ionic start <name-of-project>
Works very well, ionic start <name-of-project>
效果很好,
`npm start`
Also works very well but I can't install Android
and ios
when I run 也很好用,但是运行时我无法安装
Android
和ios
`ionic info`
I noticed npm: not installed
I have uninstalled and reinstalled node several times and it's still not working please how can I fix this issue. 我注意到
npm: not installed
我已经多次卸载并重新安装了节点,但仍然无法正常工作,请问如何解决此问题。 Any help will be appreciated 任何帮助将不胜感激
Have you looked in your system enviorment variables? 您是否查看过系统环境变量? The
PATH
in your machine wide and local setting should have C:\\Program Files\\nodejs
that way it'll find the npm commands. 在计算机范围和本地设置中的
PATH
应该具有C:\\Program Files\\nodejs
,这样它将找到npm命令。 You'll need to restart your computer after installing npm or after adding something in the system variables. 安装npm或在系统变量中添加某些内容后,需要重新启动计算机。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.