IONIC启动错误

时间:2016-11-10 14:41:34

标签: ionic-framework

我试图解决这个问题从现在开始5个小时,我仍然无法修复它我开始离子并服务但是我总是得到这个错误我在互联网上做了一切修复但仍然没有什么< / p>

您的系统信息:

Cordova CLI: 6.4.0
Ionic CLI Version: 2.1.7
Ionic App Lib Version: 2.1.4
ios-deploy version: Not installed
ios-sim version: Not installed
OS: macOS Sierra
Node Version: v6.9.1
Xcode version: Not installed


******************************************************
 Dependency warning - for the CLI to run correctly,
 it is highly recommended to install/upgrade the following:

 Install ios-sim to deploy iOS applications.`npm install -g ios-sim` (may require sudo)
 Install ios-deploy to deploy iOS applications to devices.  `npm install -g ios-deploy` (may require sudo)

我尝试了所有这些命令:

sudo npm install ios-sim -g
sudo npm install -g ios-deploy --unsafe-perm=true

npm install -g ios-deploy --allow-root

我的错误

npm ERR! Darwin 16.1.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "ios-sim"
npm ERR! node v6.9.1
npm ERR! npm  v3.10.8
npm ERR! path /Users/heshamelmasry/.npm-packages/lib/node_modules/ios-sim
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access

npm ERR! Error: EACCES: permission denied, access '/Users/heshamelmasry/.npm-packages/lib/node_modules/ios-sim'
npm ERR!     at Error (native)
npm ERR!  { Error: EACCES: permission denied, access '/Users/heshamelmasry/.npm-packages/lib/node_modules/ios-sim'
npm ERR!     at Error (native)
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/Users/heshamelmasry/.npm-packages/lib/node_modules/ios-sim' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/heshamelmasry/Desktop/npm-debug.log

0 个答案:

没有答案