Deploy Angular 5 + Nodejs Express app to Heroku

前端 未结 8 1424
清酒与你
清酒与你 2021-02-04 02:35

I have an Angular 5 App.

This is what I have in my package.json

{
  "name": "web",
  "version": "0.0.0&         


        
8条回答
  •  旧巷少年郎
    2021-02-04 03:23

    You will face memory exceed issue if you are gonna build prod on heroku. So free type won’t work.

    So try to build in local and serve your dist files using express.

    Use same command in PROC file

    Heroku local or Heroku local web : verify your changes in local

提交回复
热议问题