[
https://issues.apache.org/jira/browse/CB-8700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14367707#comment-14367707
]
Shazron Abdullah commented on CB-8700:
--------------------------------------
Thanks for the report - please file this at
https://github.com/phonegap/ios-deploy/issues instead of this tracker.
Seems like you have permission errors - fix those. This is not really an
ios-deploy problem.
"clang: error: unable to make temporary file: Permission denied"
> Command fails: npm install ios-deploy -g
> -----------------------------------------
>
> Key: CB-8700
> URL: https://issues.apache.org/jira/browse/CB-8700
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: Master
> Environment: OSX 10.10.2
> Cordova 4.3
> Reporter: Dooms
>
> Doing an upgrade from Cordova iOS 3.5. Updated cordova to 4.3.
> Running command (as root):
> npm install ios-deploy -g
> Error:
> > [email protected] preinstall /usr/local/lib/node_modules/ios-deploy
> > make ios-deploy
> shell-init: error retrieving current directory: getcwd: cannot access parent
> directories: Permission denied
> make: getcwd: Permission denied
> rm -rf *.app demo ios-deploy
> shell-init: error retrieving current directory: getcwd: cannot access parent
> directories: Permission denied
> gcc -ObjC -g -o ios-deploy -framework Foundation -framework CoreFoundation
> -framework MobileDevice -F/System/Library/PrivateFrameworks ios-deploy.c
> clang: error: unable to make temporary file: Permission denied
> make: *** [ios-deploy] Error 1
> npm ERR! [email protected] preinstall: `make ios-deploy`
> npm ERR! Exit status 2
> npm ERR!
> npm ERR! Failed at the [email protected] preinstall script.
> npm ERR! This is most likely a problem with the ios-deploy package,
> npm ERR! not with npm itself.
> npm ERR! Tell the author that this fails on your system:
> npm ERR! make ios-deploy
> npm ERR! You can get their info via:
> npm ERR! npm owner ls ios-deploy
> npm ERR! There is likely additional logging output above.
> npm ERR! System Darwin 14.1.0
> npm ERR! command "node" "/usr/local/bin/npm" "install" "ios-deploy" "-g"
> npm ERR! cwd /usr/local/bin
> npm ERR! node -v v0.10.30
> npm ERR! npm -v 1.4.21
> npm ERR! code ELIFECYCLE
> npm ERR!
> npm ERR! Additional logging details can be found in:
> npm ERR! /usr/local/bin/npm-debug.log
> npm ERR! not ok code 0
> Have tried switching from gcc to clang. Both produce the same error.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]