PhoneGap中文网

 找回密码
 立即注册

ionic创建项目问题

查看数: 13101 | 评论数: 2 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2015-8-18 11:46

正文摘要:

1. 请问下是Node的版本低了吗? 这个问题怎么解决呢。 麻烦回答下,谢谢!!!

回复

jansle 发表于 2015-8-18 13:11:29
paultao 发表于 2015-8-18 12:01
1) Clear NPM's cache:  
sudo npm cache clean -f  
2) Install a little helper called 'n'  

1)npm WARN using --force I sure hope you know what you are doing.
2)npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture: n@2.0
.2
npm ERR! notsup Valid OS:    !win32
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   win32
npm ERR! notsup Actual Arch: x64

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "n"
npm ERR! cwd C:\Users\Administrator
npm ERR! node -v v0.10.38
npm ERR! npm -v 1.4.28
npm ERR! code EBADPLATFORM
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\Users\Administrator\npm-debug.log
npm ERR! not ok code 0

还是报错呢..
paultao 发表于 2015-8-18 12:01:29
1) Clear NPM's cache:  
sudo npm cache clean -f  
2) Install a little helper called 'n'  
  
sudo npm install -g n
关闭

站长推荐 上一条 /1 下一条

ionic4视频教程

Archiver|手机版|小黑屋| PhoneGap中文网 ( 京ICP备13027796号-1 )  

GMT+8, 2025-1-6 20:52 , Processed in 0.050193 second(s), 35 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表