I have an Angular 5 App.
This is what I have in my package.json
{
"name": "web",
"version": "0.0.0&
Here's how I make my Angular app to deploy and work on Heroku:
server.js should look something like this: https://hastebin.com/zavehahide.jspackage.json, move @angular/cli and @angular/compiler-cli from devDependencies to dependenciespackage.json, add postinstall: ng build --prod and start: node server.js to scriptsYou should be good to go.