Earlier it was working on heroku but now its not working anymore can u look into the logs and tell me if, i am doing something wrong or heroku has banned the app
----> Node.js app detected
-----> Creating runtime environment
NPM_CONFIG_LOGLEVEL=error
NODE_ENV=production
NODE_MODULES_CACHE=true
NODE_VERBOSE=false
-----> Installing binaries
engines.node (package.json): >= 4.0.0
engines.npm (package.json): unspecified (use default)
Resolving node version >= 4.0.0...
Downloading and installing node 14.1.0...
Using default npm version: 6.14.4
-----> Installing dependencies
Installing node modules (package.json + package-lock)
up to date in 0.56s
found 0 vulnerabilities
-----> Build
Detected both "build" and "heroku-postbuild" scripts
Running heroku-postbuild
> [email protected] heroku-postbuild /tmp/build_2946b26beee410cc9345a565ab179014
> npm run build-client && npm run install-server
> [email protected] build-client /tmp/build_2946b26beee410cc9345a565ab179014
> cd ./Torrent2Drive_frontend && npm install && npm run build
> [email protected] postinstall /tmp/build_2946b26beee410cc9345a565ab179014/Torrent2Drive_frontend/node_modules/babel-runtime/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
> [email protected] postinstall /tmp/build_2946b26beee410cc9345a565ab179014/Torrent2Drive_frontend/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
> [email protected] postinstall /tmp/build_2946b26beee410cc9345a565ab179014/Torrent2Drive_frontend/node_modules/ejs
> node ./postinstall.js
added 1292 packages from 888 contributors and audited 25651 packages in 40.848s
40 packages are looking for funding
run `npm fund` for details
found 1 low severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
> [email protected] build /tmp/build_2946b26beee410cc9345a565ab179014/Torrent2Drive_frontend
> vue-cli-service build
node-pre-gyp ERR! install error
node-pre-gyp ERR! stack Error: bad download
node-pre-gyp ERR! stack at Unpack.afterTarball (/tmp/build_2946b26beee410cc9345a565ab179014/Torrent2Drive_server/node_modules/node-pre-gyp/lib/install.js:100:46)
node-pre-gyp ERR! stack at Unpack.emit (events.js:315:20)
node-pre-gyp ERR! stack at Unpack.[maybeClose] (/tmp/build_2946b26beee410cc9345a565ab179014/Torrent2Drive_server/node_modules/tar/lib/unpack.js:171:12)
node-pre-gyp ERR! stack at Unpack.[unpend] (/tmp/build_2946b26beee410cc9345a565ab179014/Torrent2Drive_server/node_modules/tar/lib/unpack.js:394:21)
node-pre-gyp ERR! stack at /tmp/build_2946b26beee410cc9345a565ab179014/Torrent2Drive_server/node_modules/tar/lib/unpack.js:308:46
node-pre-gyp ERR! stack at FSReqCallback.oncomplete (fs.js:163:23)
node-pre-gyp ERR! System Linux 4.4.0-1062-aws
node-pre-gyp ERR! command "/tmp/build_2946b26beee410cc9345a565ab179014/.heroku/node/bin/node" "/tmp/build_2946b26beee410cc9345a565ab179014/Torrent2Drive_server/node_modules/.bin/node-pre-gyp" "install"
node-pre-gyp ERR! cwd /tmp/build_2946b26beee410cc9345a565ab179014/Torrent2Drive_server/node_modules/wrtc
node-pre-gyp ERR! node -v v14.1.0
node-pre-gyp ERR! node-pre-gyp -v v0.13.0
node-pre-gyp ERR! not ok
bad download
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node scripts/download-prebuilt.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install 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.KSrHy/_logs/2020-05-03T16_31_52_483Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install-server: cd ./Torrent2Drive_server && npm install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install-server 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.KSrHy/_logs/2020-05-03T16_31_52_515Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] heroku-postbuild: npm run build-client && npm run install-server
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] heroku-postbuild 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.KSrHy/_logs/2020-05-03T16_31_52_531Z-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:
- Dangerous semver range (>) in engines.node
https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
Love,
Heroku
! Push rejected, failed to compile Node.js app.
! Push failed
Build finished