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

Matthias Wessendorf matzew at apache.org
Tue Nov 19 03:06:00 EST 2013


Hello,

since a few days I notice something odd, regarding npm. It only works for
me, when I invoke it w/ 'sudo'...

<snip>

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
</snip>


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20131119/6e257fe2/attachment.html 


More information about the aerogear-dev mailing list