2021年5月1日星期六

Node.js application building on local server but not heroku

I am trying to run my node.js application on Heroku but I run into this error while building the application. Has anyone run into a similar issue? The application runs on my local browser perfectly but does not build using heroku giving this error

remote: -----> Build  remote:        Running build  remote:  remote:        > i@1.0.0 build /tmp/build_391036d4  remote:        > node -j 16 build  remote:  remote: node: bad option: -j  remote: npm ERR! code ELIFECYCLE  remote: npm ERR! errno 9  remote: npm ERR! i@1.0.0 build: `node -j 16 build`  remote: npm ERR! Exit status 9  remote: npm ERR!  remote: npm ERR! Failed at the i@1.0.0 build script.  remote: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.  remote:  remote: npm ERR! A complete log of this run can be found in:  remote: npm ERR!     /tmp/npmcache.sxc9v/_logs/2021-05-02T00_53_42_991Z-debug.log  remote:  remote: -----> Build failed   
https://stackoverflow.com/questions/67352401/node-js-application-building-on-local-server-but-not-heroku May 02, 2021 at 10:06AM

没有评论:

发表评论