Blank page on Heroku - mean.js angular app

后端 未结 3 837
广开言路
广开言路 2021-02-05 19:08

I\'m trying to deploy my mean.js app to heroku. Somehow the app on heroku is loading a blank page. It seems like the angular app is not being loaded properly.

Possibly a

3条回答
  •  南旧
    南旧 (楼主)
    2021-02-05 19:21

    OK, I feel stupid.

    It took me a while to realize that while my mean.js app is running in production mode, none of the client side javascript got loaded.

    It turns out I needed to run grunt build (it's in the mean.js manual).

    RTFM :-)

提交回复
热议问题