node.js - Getting error when trying to install pm2 -


i trying install pm2 on mac os version 10.8.5. when intstalling it.

i have installed xcode 5.1.1 on mac. after doing getting gyp err! stack error: not found: make".is not gnu make comes xcode , supposed work ideally.

please see below whole error when trying install it.

 rajeshs-macbook-pro:~ rajesh$ npm install pm2  > fsevents@0.3.1 install /users/rajesh/node_modules/pm2/node_modules/chokidar/node_modules/fsevents > node-gyp rebuild  child_process: customfds option deprecated, use stdio instead. -  agreeing xcode/ios license requires admin privileges, please re-run root via sudo.    gyp err! build error  gyp err! stack error: not found: make gyp err! stack     @ f (/users/rajesh/.nvm/v0.11.14/lib/node_modules/npm/node_modules/which/which.js:43:28) gyp err! stack     @ e (/users/rajesh/.nvm/v0.11.14/lib/node_modules/npm/node_modules/which/which.js:46:29) gyp err! stack     @ /users/rajesh/.nvm/v0.11.14/lib/node_modules/npm/node_modules/which/which.js:57:16 gyp err! stack     @ object.oncomplete (evalmachine.:93:15) gyp err! system darwin 12.5.0 gyp err! command "node" "/users/rajesh/.nvm/v0.11.14/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp err! cwd /users/rajesh/node_modules/pm2/node_modules/chokidar/node_modules/fsevents gyp err! node -v v0.11.14 gyp err! node-gyp -v v1.0.2 gyp err! not ok  npm warn optional dep failed, continuing fsevents@0.3.1 pm2@0.12.1 node_modules/pm2 ├── ikt@0.0.0 ├── json-stringify-safe@5.0.0 ├── commander@2.4.0 ├── eventemitter2@0.4.14 ├── colors@0.6.2 ├── cli-table@0.3.0 ├── pidusage@0.1.0 ├── cron@1.0.5 ├── async@0.9.0 ├── isbinaryfile@2.0.2 ├── vizion@0.2.1 ├── axm@0.2.24 ├── shelljs@0.3.0 ├── moment@2.8.4 ├── debug@2.1.0 (ms@0.6.2) ├── pm2-deploy@0.1.2 (tv4@1.0.18) ├── nssocket@0.5.1 (lazy@1.0.11) ├── pm2-axon-rpc@0.3.6 (commander@1.0.5) ├── coffee-script@1.8.0 (mkdirp@0.3.5) ├── pm2-rpc-fallback@3.0.9 (axon@1.0.0, commander@1.0.5) ├── pm2-multimeter@0.1.2 (charm@0.1.2) ├── chalk@0.5.1 (escape-string-regexp@1.0.2, ansi-styles@1.1.0, supports-color@0.2.0, has-ansi@0.1.0, strip-ansi@0.3.0) ├── punt@2.2.0 (amp-message@0.1.2) ├── pm2-axon@2.0.7 (amp-message@0.1.2, escape-regexp@0.0.1, configurable@0.0.1, amp@0.3.1, debug@2.0.0) ├── pm2-logs@0.1.1 (blessed@0.0.36, pm2-interface@1.1.0, chalk@0.4.0) └── chokidar@0.10.9 (async-each@0.1.6, readdirp@1.1.0) 

it seems need open xcode , accept user agreement first.

secondly, while have xcode open, you'll have make sure install command line tools: go preferences -> downloads , install command line tools.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -