logged in as root and got chown -R on /usr/local
---root@Branimirs-iMac:
|
----~$ npm install -g strongloop
npm WARN deprecated json-file-plus@2.0.0: Before v3.0.0, errors in fs.writeFile would not be propagated
> heapdump@0.3.5 install /usr/local/lib/node_modules/strongloop/node_modules/strong-supervisor/node_modules/heapdump
> node-gyp rebuild
gyp WARN EACCES user "root" does not have permission to access the dev dir "/var/root/.node-gyp/0.12.2"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/strongloop/node_modules/strong-supervisor/node_modules/heapdump/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: connect ECONNREFUSED
gyp ERR! stack at exports._errnoException (util.js:746:11)
gyp ERR! stack at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1000:19)
gyp ERR! System Darwin 14.3.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/strongloop/node_modules/strong-supervisor/node_modules/heapdump
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm WARN deprecated json-file-plus@1.0.7: Before v3.0.0, errors in fs.writeFile would not be propagated
npm WARN optional dep failed, continuing loopback@2.17.2
npm ERR! fetch failed https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.5.tgz
npm WARN retry will retry, error on last attempt: Error: connect ECONNREFUSED
npm ERR! fetch failed https://registry.npmjs.org/raw-body/-/raw-body-1.3.1.tgz
npm WARN retry will retry, error on last attempt: Error: connect ECONNREFUSED
npm ERR! fetch failed https://registry.npmjs.org/type-is/-/type-is-1.5.7.tgz
npm WARN retry will retry, error on last attempt: Error: connect ECONNREFUSED
npm ERR! fetch failed https://registry.npmjs.org/accepts/-/accepts-1.1.4.tgz
npm WARN retry will retry, error on last attempt: Error: connect ECONNREFUSED
npm ERR! fetch failed https://registry.npmjs.org/debug/-/debug-2.0.0.tgz
npm WARN retry will retry, error on last attempt: Error: connect ECONNREFUSED
npm ERR! fetch failed https://registry.npmjs.org/finalhandler/-/finalhandler-0.2.0.tgz
npm WARN retry will retry, error on last attempt: Error: connect ECONNREFUSED
npm ERR! fetch failed https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-0.0.2.tgz
npm WARN retry will retry, error on last attempt: Error: connect ECONNREFUSED
npm ERR! fetch failed https://registry.npmjs.org/rc/-/rc-0.3.5.tgz
npm WARN retry will retry, error on last attempt: Error: connect ECONNREFUSED
> strong-fo...@1.2.3 install /usr/local/lib/node_modules/strongloop/node_modules/strong-supervisor/node_modules/strong-fork-syslog
> node-gyp rebuild
gyp WARN EACCES user "root" does not have permission to access the dev dir "/var/root/.node-gyp/0.12.2"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/strongloop/node_modules/strong-supervisor/node_modules/strong-fork-syslog/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: connect ECONNREFUSED
gyp ERR! stack at exports._errnoException (util.js:746:11)
gyp ERR! stack at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1000:19)
gyp ERR! System Darwin 14.3.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/strongloop/node_modules/strong-supervisor/node_modules/strong-fork-syslog
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm WARN optional dep failed, continuing heapdump@0.3.5
> strong-agent@1.4.0 install /usr/local/lib/node_modules/strongloop/node_modules/strong-agent
> node-gyp rebuild || exit 0
gyp WARN EACCES user "root" does not have permission to access the dev dir "/var/root/.node-gyp/0.12.2"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/strongloop/node_modules/strong-agent/.node-gyp"
gyp WARN install got an error, rolling back install
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: connect ECONNREFUSED
gyp ERR! stack at exports._errnoException (util.js:746:11)
gyp ERR! stack at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1000:19)
gyp ERR! System Darwin 14.3.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/strongloop/node_modules/strong-agent
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm WARN optional dep failed, continuing strong-fork-syslog@1.2.3
npm WARN optional dep failed, continuing loopback-explorer@1.7.2
npm ERR! Darwin 14.3.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "strongloop"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ECONNREFUSED
npm ERR! errno ECONNREFUSED
npm ERR! syscall connect
npm ERR! Error: connect ECONNREFUSED
npm ERR! at exports._errnoException (util.js:746:11)
npm ERR! at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1000:19)
npm ERR! { [Error: connect ECONNREFUSED]
npm ERR! code: 'ECONNREFUSED',
npm ERR! errno: 'ECONNREFUSED',
npm ERR! syscall: 'connect',
npm ERR! parent: 'strong-arc' }
npm ERR!
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly. See: 'npm help config'
npm ERR! Please include the following file with any support request:
npm ERR! /private/var/root/npm-debug.log
what could be the issue? other packages install like a charm...
--
You received this message because you are subscribed to the Google Groups "StrongLoop" group.
To unsubscribe from this group and stop receiving emails from it, send an email to strongloop+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
...
--
You received this message because you are subscribed to the Google Groups "StrongLoop" group.
To unsubscribe from this group and stop receiving emails from it, send an email to strongloop+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
...