judo-heroes-2
judo-heroes-2 copied to clipboard
sh: 1: webpack: not found
Hi!
I've followed along your tutorial. Everything works on the local machine. But deploying to heroku doesn't work in my case. It seems webpack is not installed.
How did you install webpack your heroku dyno?
Kind regards
I figured out, that I need to set the NPM_CONFIG_PRODUCTION to false at heroku. This Issue can be closed :-)
Hey @Raidus, are you using the build pack specified in the app.json file?
Hey @lmammino, I'll think so, because it's in the heroku backend, too. I think heroku will automatically look up for the app.json if I push it to heroku?
That's the part that I am not so sure about.
For sure that will happen if you use the "deploy to Heroku" button in the readme, but I am not sure the same happens if you just push the repo to your Heroku account.
Anyway, you can simply check in your project settings in Heroku if a custom build pack is being used.
Let me know :)
your custom build pack was automatically added. at least it was added in the project settings :-)