Hey Broonix, Thanks for the guide! However, whenever Heroku runs the upload-sourcemaps.sh, it failed due to 'Permission denied'. Do you know what might be causing this?
sh: 1: ./src/upload-sourcemaps.sh: Permission denied npm ERR! code ELIFECYCLE npm ERR! errno 126 npm ERR! waytoogood@0.2.0 postbuild: `./src/upload-sourcemaps.sh` npm ERR! Exit status 126 npm ERR! npm ERR! Failed at the waytoogood@0.2.0 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.P8RkJ/_logs/2021-01-11T00_16_49_639Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 126 npm ERR! waytoogood@0.2.0 heroku-postbuild: `npm run leaflet-assets && npm run build` npm ERR! Exit status 126 npm ERR! npm ERR! Failed at the waytoogood@0.2.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.P8RkJ/_logs/2021-01-11T00_16_49_664Z-debug.log -----> Build failed
Hey Broonix,
Thanks for the guide!
However, whenever Heroku runs the upload-sourcemaps.sh, it failed due to 'Permission denied'.
Do you know what might be causing this?
Here's the logs...
> waytoogood@0.2.0 postbuild /tmp/build_5952b344_
> ./src/upload-sourcemaps.sh
sh: 1: ./src/upload-sourcemaps.sh: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! waytoogood@0.2.0 postbuild: `./src/upload-sourcemaps.sh`
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the waytoogood@0.2.0 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.P8RkJ/_logs/2021-01-11T00_16_49_639Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! waytoogood@0.2.0 heroku-postbuild: `npm run leaflet-assets && npm run build`
npm ERR! Exit status 126
npm ERR!
npm ERR! Failed at the waytoogood@0.2.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.P8RkJ/_logs/2021-01-11T00_16_49_664Z-debug.log
-----> Build failed
We're sorry this build is failing! You can troubleshoot common issues here:
https://devcenter.heroku.co...