@jan_ferrer wrote:
Hello guys,
I am very happy with everything I've seen so far on the Ionic framework, a child who finds a ball to play, he he.
However, I'm facing some tool configuration problems:
Installed Apache Cordova 6.2.0 on my Mac with Xcode 7.2.1 and Yosemite;
Installed Ionic 1.7.15 client;
I managed to create an app, open the Ionic and Ionic Lab View, no problem.
But when I try to install the components to build in xCode, there were some problems:
a) ios-yes - no problem
b) ios-deploy - various error messages:
"Npm WARN lifecycle ios-deploy@1.8.6~preinstall: can not run in wd% s% s (% s = wd) ios-deploy@1.8.6 ./src/scripts/check_reqs.js xcodebuild && / usr / local /lib/node_modules/.staging/ios-deploy-298c9491
npm ERR! Darwin 14.5.0
npm ERR! argv "/ usr / local / bin / node" "/ usr / local / bin / npm" "install" "-g" "ios-deploy"
npm ERR! node v4.4.5
npm ERR! npm v3.9.3
npm ERR! path / usr / local / lib / node_modules / ios-deploy / build / Release / ios-deploy
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmodnpm ERR! ENOENT ENOENT: no such file or directory chmod '/ usr / local / lib / node_modules / ios-deploy / build / Release / ios-deploy'
npm ERR! ENOENT ENOENT: no such file or directory chmod '/ usr / local / lib / node_modules / ios-deploy / build / Release / ios-deploy'
npm ERR! ENOENT This is Most Likely not a problem with npm itself
npm ERR! ENOENT and is related to npm not being able to find the file.
npm ERR! ENOENTnpm ERR! Please include The Following file with any support request:
npm ERR! /Users/janiofb/npm-debug.log "I had problems in the execution of commands:
1) $ ionic platform add ios:
"Updated the hooks directory to have execute permissions
Downloading Default Ionic Resources
Downloading: https://github.com/driftyco/ionic-default-resources/archive/master.zip
[=============================] 100% 0.0s
Done adding default Ionic resources
Adding icons for platform: ios
/usr/local/lib/node_modules/cordova/node_modules/configstore/index.js:53
throw err;
^Error: EACCES: permission denied, open '/Users/janiofb/.config/configstore/insight-cordova.json'
You do not have access to this file.at Error (native) at Object.fs.openSync (fs.js: 549: 18) at Object.fs.readFileSync (fs.js: 397: 15) at Object.create.all.get (/usr/local/lib/node_modules/cordova/node_modules/configstore/index.js:34:26) at Object.Configstore (/usr/local/lib/node_modules/cordova/node_modules/configstore/index.js:27:44) at new Insight (/usr/local/lib/node_modules/cordova/node_modules/insight/lib/index.js:38:34) at Object. <anonymous> (/usr/local/lib/node_modules/cordova/src/telemetry.js:37:15) at Module._compile (module.js: 409: 26) at Object.Module._extensions..js (module.js: 416: 10) at Module.load (module.js: 343: 32) "
I can not compile with the command "$ ionic build ios" using only "$ sudo ionic build ios"
Finally, the command "sudo $ ionic emulate ios" opens the simulator but does not show the project ...
I appreciate if anyone has any direction ...
Thank you very much.
Jan Ferrer
Posts: 1
Participants: 1