node.js - Errors Installing Ionic Framework on Mac -
when trying install ionic framework on mac via node.js using command $ npm install -g cordova ionic
getting following errors
npm err! darwin 14.3.0 npm err! argv "node" "/usr/local/bin/npm" "install" "-g" "cordova" "ionic" npm err! node v0.12.5 npm err! npm v2.12.0 npm err! attempt unlock /usr/local/lib/node_modules/cordova, hasn't been locked npm err! npm err! if need help, may report error at: npm err! <https://github.com/npm/npm/issues> npm err! darwin 14.3.0 npm err! argv "node" "/usr/local/bin/npm" "install" "-g" "cordova" "ionic" npm err! node v0.12.5 npm err! npm v2.12.0 npm err! attempt unlock /usr/local/lib/node_modules/ionic, hasn't been locked npm err! npm err! if need help, may report error at: npm err! <https://github.com/npm/npm/issues> npm err! please include following file support request: npm err! /users/kernelliott/npm-debug.log
any idea why getting these errors?
use sudo installing in system directory (with -g, global flag):
sudo npm install -g cordova ionic
Comments
Post a Comment