> email@example.com postinstall /usr/local/lib/node_modules/enyo-dev
> node ./bin/upgrade.js
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
Error: EACCES: permission denied, open '/Users/username/.babel.json'
at Error (native)
at Object.fs.openSync (fs.js:634:18)
at Object.fs.writeFileSync (fs.js:1327:33)
at save (/usr/local/lib/node_modules/enyo-dev/node_modules/babel-register/lib/cache.js:57:40)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
at Function.Module.runMain (module.js:577:11)
at startup (node.js:160:18)
npm ERR! Darwin 15.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "enyo-dev"
npm ERR! node v6.2.0
npm ERR! npm v3.8.9
npm ERR! code ELIFECYCLE
npm ERR! firstname.lastname@example.org postinstall: `node ./bin/upgrade.js`
npm ERR! Exit status 1
npm ERR! Failed at the email@example.com postinstall script 'node ./bin/upgrade.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the enyo-dev package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./bin/upgrade.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs enyo-dev
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls enyo-dev
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/psarin/WebStormProjects/npm-debug.log
npm ERR! code 1
It looks like you're new here. If you want to get involved, click one of these buttons!