MitocGroup / deep-framework

Full-stack JavaScript Framework for Cloud-Native Web Applications (perfect for Serverless use cases)
https://www.npmjs.com/package/deep-framework
Mozilla Public License 2.0
536 stars 68 forks source link

Error publishing new patch version for deep-framework #579

Closed mgoria closed 7 years ago

mgoria commented 7 years ago

Error is reproducing after upgrade to node 6.x:

npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/mgoria/.nvm/versions/node/v6.7.0/bin/node" "/Users/mgoria/.nvm/versions/node/v6.7.0/bin/npm" "run" "browser-build"
npm ERR! node v6.7.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! deep-framework@1.12.19 browser-build: `bash node-bin/browser_build.sh`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the deep-framework@1.12.19 browser-build script 'bash node-bin/browser_build.sh'.
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 deep-framework package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     bash node-bin/browser_build.sh
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs deep-framework
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls deep-framework
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/mgoria/Documents/workspace/MitocGroup/deep-framework/src/deep-framework/npm-debug.log

npm ERR! addLocal Could not install /Users/mgoria/Documents/workspace/MitocGroup/deep-framework/src/deep-framework
npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/mgoria/.nvm/versions/node/v6.7.0/bin/node" "/Users/mgoria/.nvm/versions/node/v6.7.0/bin/npm" "publish"
npm ERR! node v6.7.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! deep-framework@1.12.19 prepublish: `npm run compile && npm run browser-build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the deep-framework@1.12.19 prepublish script 'npm run compile && npm run browser-build'.
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 deep-framework package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run compile && npm run browser-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs deep-framework
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls deep-framework
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/mgoria/Documents/workspace/MitocGroup/deep-framework/src/deep-framework/npm-debug.log

stats.json

"(webpack)/~/crypto-browserify/index.js\nModule not found: Error: Can't resolve 'randombytes' in '/Users/<user>/.nvm/versions/node/v6.7.0/lib/node_modules/webpack/node_modules/crypto-browserify'\nresolve 'randombytes' in '/Users/<user>/.nvm/versions/node/v6.7.0/lib/node_modules/webpack/node_modules/crypto-browserify'