AeroGear-JS: npm needs sudo ?
by Matthias Wessendorf
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
11 years, 1 month
plugin
by Erik Jan de Wit
Cordova Bridge for 'standard' AeroGear
We have talked about it before and it popped into my mind again when talking about the site re-structuring, that Cordova is basically a component as well. That combined with the idea that we have for the crypto plugin that it could be faster and more secure to make use of a native functions when they are available, made me think why not also bridge the 'standard' AeroGear features as well?
Does that make sense? Or is this to much a nice to have will Javascript be 'good enough' in this case?
11 years, 1 month