[英]The ionic start command fails for me with the following error on Ubuntu 14.04
The ionic start command fails for me with the following error on Ubuntu 14.04 and need assistance in resolving the issue: ionic start命令对我来说失败,在Ubuntu 14.04上出现以下错误,需要协助来解决此问题:
andrew@FinancialIndepence:~/WebstormProjects/stadiumStore/mobile$ ionic start myApp tabs Creating Ionic app in folder /home/andrew/WebstormProjects/stadiumStore/mobile/myApp based on tabs project andrew @ FinancialIndepence:〜/ WebstormProjects / stadiumStore / mobile $ ionic启动myApp选项卡根据选项卡项目在/ home / andrew / WebstormProjects / stadiumStore / mobile / myApp文件夹中创建Ionic应用程序
Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip [=============================] 100% 0.0s 下载: https : //github.com/driftyco/ionic-app-base/archive/master.zip [========================== ===] 100%0.0s
Downloading: https://github.com/driftyco/ionic-starter-tabs/archive/master.zip [=============================] 100% 0.0s 下载: https : //github.com/driftyco/ionic-starter-tabs/archive/master.zip [========================= ===] 100%0.0s
Update config.xml Initializing cordova project Fetching plugin "org.apache.cordova.device" via plugin registry npm ERR! 更新config.xml初始化cordova项目通过插件注册表npm ERR获取插件“ org.apache.cordova.device”! registry error parsing json npm ERR!
解析json npm ERR的注册表错误! registry error parsing json npm ERR!
解析json npm ERR的注册表错误! registry error parsing json SyntaxError: Unexpected token I Internal routing error
解析json注册表错误语法错误:意外的令牌I内部路由错误
Sorry, we cannot connect to the intended server. 抱歉,我们无法连接到目标服务器。
We have just been notified of this problem. 我们刚刚收到有关此问题的通知。 We will correct it as soon as possible.
我们会尽快更正。
Feel free to contact us if you have any questions: support@iriscouch.com 如有任何疑问,请随时与我们联系:support@iriscouch.com
at Object.parse (native)
at RegClient.<anonymous> (/home/andrew/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:274:23)
at /home/andrew/local/lib/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:251:7
at Gunzip.onEnd (zlib.js:167:5)
at Gunzip.emit (events.js:117:20)
at _stream_readable.js:944:16
at process._tickCallback (node.js:442:13)
Unable to add plugins. Perhaps your version of Cordova is too old. Try updating (npm install -g cordova), removing this project folder, and trying again. (CLI v1.3.0)
Thanks in advance! 提前致谢!
In the forums several people were saying that the plugins.cordova.io server was down. 在论坛中,有几个人说plugins.cordova.io服务器已关闭。 Others say that trying a different version worked for them.
其他人则说尝试不同的版本对他们有用。
http://forum.ionicframework.com/t/ionic-start-cli-errors/15468/4 http://forum.ionicframework.com/t/ionic-start-cli-errors/15468/4
I just ran the same command and had no trouble with it 我只是运行了相同的命令,而没有任何麻烦
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.