[aerogear-dev] AeroGear-JS: npm needs sudo ?

Bruno Oliveira bruno at abstractj.org
Tue Nov 19 03:12:21 EST 2013


Ahoy, I’m running:

>>> npm install aerogear-sender-client      
Log:
                                                           
npm http GET https://registry.npmjs.org/aerogear-sender-client
npm http 200 https://registry.npmjs.org/aerogear-sender-client
npm http GET https://registry.npmjs.org/aerogear-sender-client/-/aerogear-sender-client-0.3.1.tgz
npm http 200 https://registry.npmjs.org/aerogear-sender-client/-/aerogear-sender-client-0.3.1.tgz
aerogear-sender-client at 0.3.1 node_modules/aerogear-sender-client

Am I supposed to get an error here?

Did the same for the other npm package:

>>> npm install aerogear-simplepush-node-sender-client                                               
Log:

npm http GET https://registry.npmjs.org/aerogear-simplepush-node-sender-client
npm http 200 https://registry.npmjs.org/aerogear-simplepush-node-sender-client
npm http GET https://registry.npmjs.org/aerogear-simplepush-node-sender-client/-/aerogear-simplepush-node-sender-client-0.0.0.tgz
npm http 200 https://registry.npmjs.org/aerogear-simplepush-node-sender-client/-/aerogear-simplepush-node-sender-client-0.0.0.tgz
aerogear-simplepush-node-sender-client at 0.0.0 node_modules/aerogear-simplepush-node-sender-client


On November 19, 2013 at 6:06:10 AM, Matthias Wessendorf (matzew at apache.org) wrote:
>
>Hello,
>
>since a few days I notice something odd, regarding npm. It only works for
>me, when I invoke it w/ 'sudo'...
>
>
>
>Extracting zip contents
>Read stream closed
>
>Renaming extracted folder phantomjs-1.7.0-macosx -> phantom
>
>Fixing file permissions
>
>Done. Phantomjs binary available at
>/Users/matzew/work/aerogear-js/node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/node_modules/phantomjs/lib/phantom/bin/phantomjs
>
>npm ERR!
>
>npm ERR! Additional logging details can be found in:
>
>npm ERR! /Users/matzew/work/aerogear-js/npm-debug.log
>
>npm ERR! not ok code 0
>
>
>
>rerunning 'sudo npm install' seems to do the trick; Is that expected?
>
>
>
>--
>Matthias Wessendorf
>
>blog: http://matthiaswessendorf.wordpress.com/
>sessions: http://www.slideshare.net/mwessendorf
>twitter: http://twitter.com/mwessendorf
>_______________________________________________
>aerogear-dev mailing list
>aerogear-dev at lists.jboss.org
>https://lists.jboss.org/mailman/listinfo/aerogear-dev  

-- 
abstractj



More information about the aerogear-dev mailing list