Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialTarek El Hinaoui
Courses Plus Student 13,220 Pointshas anyone succeeded in depolying the app to heroku?
the app is deployed to heroku, heroku is building it, but it does not work. it seems that there is a problem when using webpack with heroku. what are the steps that has to be taken when using webpack with heroku Please HELP!
1 Answer
Seth Kroger
56,413 PointsI've successfully deployed node app to heroku but have never tried with a webpack based app there before. However pulled up this which may help: http://stackoverflow.com/questions/36223070/how-to-deploy-node-that-uses-webpack-to-heroku
Tarek El Hinaoui
Courses Plus Student 13,220 PointsTarek El Hinaoui
Courses Plus Student 13,220 PointsThank you! I had to delete node_modules, ran npm install --quiet --production, reinstalled webpack without the -dev flag.. it is now working.. The postinstall script made heroku build fail. This link was helpful https://devcenter.heroku.com/articles/troubleshooting-node-deploys#ensure-you-aren-t-relying-on-untracked-dependencies