node.js - Can't install PhoneGap on Mac -
node.js - Can't install PhoneGap on Mac -
i have installed phonegap on windows, when doing on mac maintain getting error:
[~]$ sudo npm install -g phonegap npm warn `git config --get remote.origin.url` returned wrong result (git://github.com/apache/cordova-lib.git) npm err! git clone git://github.com/apache/cordova-lib.git dyld: lazy symbol binding failed: symbol not found: ___strlcpy_chk npm err! git clone git://github.com/apache/cordova-lib.git referenced from: /usr/local/git/bin/git npm err! git clone git://github.com/apache/cordova-lib.git expected in: /usr/lib/libsystem.b.dylib npm err! git clone git://github.com/apache/cordova-lib.git npm err! git clone git://github.com/apache/cordova-lib.git dyld: symbol not found: ___strlcpy_chk npm err! git clone git://github.com/apache/cordova-lib.git referenced from: /usr/local/git/bin/git npm err! git clone git://github.com/apache/cordova-lib.git expected in: /usr/lib/libsystem.b.dylib npm err! error: command failed: dyld: lazy symbol binding failed: symbol not found: ___strlcpy_chk npm err! referenced from: /usr/local/git/bin/git npm err! expected in: /usr/lib/libsystem.b.dylib npm err! npm err! dyld: symbol not found: ___strlcpy_chk npm err! referenced from: /usr/local/git/bin/git npm err! expected in: /usr/lib/libsystem.b.dylib npm err! npm err! npm err! @ childprocess.exithandler (child_process.js:647:15) npm err! @ childprocess.emit (events.js:98:17) npm err! @ maybeclose (child_process.js:755:16) npm err! @ socket.<anonymous> (child_process.js:968:11) npm err! @ socket.emit (events.js:95:17) npm err! @ pipe.close (net.js:465:12) npm err! if need help, may study *entire* log, npm err! including npm , node versions, at: npm err! <http://github.com/npm/npm/issues> npm err! scheme darwin 12.5.0 npm err! command "node" "/usr/local/bin/npm" "install" "-g" "phonegap" npm err! cwd /users/andy npm err! node -v v0.10.29 npm err! npm -v 1.4.14 npm err! npm err! additional logging details can found in: npm err! /users/andy/npm-debug.log npm err! not ok code 0
any ideas how prepare this? haven't had much experience working mac, have explain me in more detail solution.
fixed with: sudo chown -r 'whoam' ~/.npm
found in article: npm-throws-error-without-sudo
node.js osx git cordova
Comments
Post a Comment