install of enyo-dev

edited May 2016 in Enyo 2.7
Get the following error with Node v6.2.0 and NPM v3.8.9 installed and using sudo npm install -g enyo-dev.
Any thoughts how to overcome?
<br />> enyo-dev@1.0.0 postinstall /usr/local/lib/node_modules/enyo-dev<br />> node ./bin/upgrade.js<br /><br />fs.js:634<br />  return, stringToFlags(flags), mode);<br />                 ^<br /><br />Error: EACCES: permission denied, open '/Users/username/.babel.json'<br />    at Error (native)<br />    at Object.fs.openSync (fs.js:634:18)<br />    at Object.fs.writeFileSync (fs.js:1327:33)<br />    at save (/usr/local/lib/node_modules/enyo-dev/node_modules/babel-register/lib/cache.js:57:40)<br />    at _combinedTickCallback (internal/process/next_tick.js:67:7)<br />    at process._tickCallback (internal/process/next_tick.js:98:9)<br />    at Function.Module.runMain (module.js:577:11)<br />    at startup (node.js:160:18)<br />    at node.js:449:3<br />/usr/local/lib<br />└── (empty)<br /><br />npm ERR! Darwin 15.5.0<br />npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "enyo-dev"<br />npm ERR! node v6.2.0<br />npm ERR! npm  v3.8.9<br />npm ERR! code ELIFECYCLE<br /><br />npm ERR! enyo-dev@1.0.0 postinstall: `node ./bin/upgrade.js`<br />npm ERR! Exit status 1<br />npm ERR! <br />npm ERR! Failed at the enyo-dev@1.0.0 postinstall script 'node ./bin/upgrade.js'.<br />npm ERR! Make sure you have the latest version of node.js and npm installed.<br />npm ERR! If you do, this is most likely a problem with the enyo-dev package,<br />npm ERR! not with npm itself.<br />npm ERR! Tell the author that this fails on your system:<br />npm ERR!     node ./bin/upgrade.js<br />npm ERR! You can get information on how to open an issue for this project with:<br />npm ERR!     npm bugs enyo-dev<br />npm ERR! Or if that isn't available, you can get their info via:<br />npm ERR!     npm owner ls enyo-dev<br />npm ERR! There is likely additional logging output above.<br /><br />npm ERR! Please include the following file with any support request:<br />npm ERR!     /Users/psarin/WebStormProjects/npm-debug.log<br />npm ERR! code 1<br />


Sign In or Register to comment.