Node.js app works locally but heroku says missing module

后端 未结 2 1729
长发绾君心
长发绾君心 2020-12-15 05:27

I made a simple chat application using Node.JS and Socket.IO, everything works fine locally, but when I push it to heroku it gives me an application error, when I check the

2条回答
  •  伪装坚强ぢ
    2020-12-15 06:19

    In my case I had to add a few modules to dependencies, as they were only under devdependecies and were not built on production

提交回复
热议问题