> backend@1.0.0 heroku-postbuild /tmp/build_d5f57799a293d321f3d375081db0698d
> NPM_CONFIG_PRODUCTION=false npm install --prefix client && npm run build --prefix client
up to date in 0.344s
found 0 vulnerabilities
npm ERR! path /tmp/build_d5f57799a293d321f3d375081db0698d/client/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/tmp/build_d5f57799a293d321f3d375081db0698d/client/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/npmcache.7gQqb/_logs/2019-06-06T03_19_51_414Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 254
npm ERR! backend@1.0.0 heroku-postbuild: NPM_CONFIG_PRODUCTION=false npm install --prefix client && npm run build --prefix client
npm ERR! Exit status 254
npm ERR!
npm ERR! Failed at the backend@1.0.0 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.7gQqb/_logs/2019-06-06T03_19_51_438Z-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_modules checked into source control
https://blog.heroku.com/node-habits-2016#9-only-git-the-important-bits
Love,
Heroku
-----> Node.js app detected
-----> Creating runtime environment
-----> Installing binaries engines.node (package.json): 10.16.0 engines.npm (package.json): 6.9.0
-----> Installing dependencies Prebuild detected (node_modules already exists) Rebuilding any native modules
-----> Build Running heroku-postbuild
npm ERR! path /tmp/build_d5f57799a293d321f3d375081db0698d/client/package.json npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open '/tmp/build_d5f57799a293d321f3d375081db0698d/client/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! /tmp/npmcache.7gQqb/_logs/2019-06-06T03_19_51_414Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 254 npm ERR! backend@1.0.0 heroku-postbuild:
NPM_CONFIG_PRODUCTION=false npm install --prefix client && npm run build --prefix client
npm ERR! Exit status 254 npm ERR! npm ERR! Failed at the backend@1.0.0 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.7gQqb/_logs/2019-06-06T03_19_51_438Z-debug.log -----> Build failed! Push rejected, failed to compile Node.js app. ! Push failed