Closed michaelKurowski closed 6 years ago
Heroku started to fail after this PR: #102
-----> Node.js app detected -----> Creating runtime environment NPM_CONFIG_LOGLEVEL=error NPM_CONFIG_PRODUCTION=true NODE_VERBOSE=false NODE_ENV=production NODE_MODULES_CACHE=true -----> Installing binaries engines.node (package.json): unspecified engines.npm (package.json): unspecified (use default) Resolving node version 8.x... Downloading and installing node 8.11.3... Using default npm version: 5.6.0 -----> Restoring cache Loading 2 from cacheDirectories (default): - node_modules (not cached - skipping) - bower_components (not cached - skipping) -----> Building dependencies Installing node modules (package.json + package-lock) > undefined postinstall /tmp/build_07f2cec37c33bc7023c0f6571b27d333 > npm install --prefix ./src/server && npm install --prefix ./src/server/frontEnd && npm run --prefix ./src/server generate-client-files > cwebp-bin@4.0.0 postinstall /tmp/build_07f2cec37c33bc7023c0f6571b27d333/src/server/node_modules/cwebp-bin > node lib/install.js ✔ cwebp pre-build test passed successfully > gifsicle@3.0.4 postinstall /tmp/build_07f2cec37c33bc7023c0f6571b27d333/src/server/node_modules/gifsicle > node lib/install.js ✔ gifsicle pre-build test passed successfully > mozjpeg@5.0.0 postinstall /tmp/build_07f2cec37c33bc7023c0f6571b27d333/src/server/node_modules/mozjpeg > node lib/install.js ⚠ The `/tmp/build_07f2cec37c33bc7023c0f6571b27d333/src/server/node_modules/mozjpeg/vendor/cjpeg` binary doesn't seem to work correctly ⚠ mozjpeg pre-build test failed ℹ compiling from source ✖ Error: autoreconf -fiv && ./configure --disable-shared --disable-dependency-tracking --with-jpeg8 --prefix="/tmp/build_07f2cec37c33bc7023c0f6571b27d333/src/server/node_modules/mozjpeg/vendor" --bindir="/tmp/build_07f2cec37c33bc7023c0f6571b27d333/src/server/node_modules/mozjpeg/vendor" --libdir="/tmp/build_07f2cec37c33bc7023c0f6571b27d333/src/server/node_modules/mozjpeg/vendor" && make -j2 && make install -j2 Command failed: ./configure --disable-shared --disable-dependency-tracking --with-jpeg8 --prefix="/tmp/build_07f2cec37c33bc7023c0f6571b27d333/src/server/node_modules/mozjpeg/vendor" --bindir="/tmp/build_07f2cec37c33bc7023c0f6571b27d333/src/server/node_modules/mozjpeg/vendor" --libdir="/tmp/build_07f2cec37c33bc7023c0f6571b27d333/src/server/node_modules/mozjpeg/vendor" configure: error: no nasm (Netwide Assembler) found at ChildProcess.exithandler (child_process.js:275:12) at emitTwo (events.js:126:13) at ChildProcess.emit (events.js:214:7) at maybeClose (internal/child_process.js:925:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) > optipng-bin@3.1.4 postinstall /tmp/build_07f2cec37c33bc7023c0f6571b27d333/src/server/node_modules/optipng-bin > node lib/install.js ✔ optipng pre-build test passed successfully > pngquant-bin@4.0.0 postinstall /tmp/build_07f2cec37c33bc7023c0f6571b27d333/src/server/node_modules/pngquant-bin > node lib/install.js ✔ pngquant pre-build test passed successfully added 1825 packages in 47.405s added 1244 packages in 21.652s > lokim@0.0.1 generate-client-files /tmp/build_07f2cec37c33bc7023c0f6571b27d333/src/server > npm run --prefix frontEnd build npm ERR! missing script: build npm ERR! A complete log of this run can be found in: npm ERR! /tmp/npmcache.Nk6Av/_logs/2018-08-06T18_38_09_551Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! lokim@0.0.1 generate-client-files: `npm run --prefix frontEnd build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the lokim@0.0.1 generate-client-files script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /tmp/npmcache.Nk6Av/_logs/2018-08-06T18_38_09_563Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! undefined postinstall: `npm install --prefix ./src/server && npm install --prefix ./src/server/frontEnd && npm run --prefix ./src/server generate-client-files` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the undefined postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /tmp/npmcache.Nk6Av/_logs/2018-08-06T18_38_09_580Z-debug.log -----> Build failed We're sorry this build is failing! You can troubleshoot common issues here: https://devcenter.heroku.com/articles/troubleshooting-node-deploys Some possible problems: - Node version not specified in package.json https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version Love, Heroku ! Push rejected, failed to compile Node.js app. ! Push failed
Heroku started to fail after this PR: #102