Application Error when attempting to deploy Node.js/Express/Socket.io application on Heroku

后端 未结 5 729
甜味超标
甜味超标 2021-02-03 11:19

I am fairly new to all of these technologies (including somewhat JavaScript) so you might have to bear with me here.

I followed the ChatApp tutorial over at Socket.IO do

5条回答
  •  心在旅途
    2021-02-03 11:34

    I encountered the same error, but including "start":"node app.js" in package.json file tends to fix the problem. Hope this helps anyone that encounters the same error.

    Note: app.js should be your own main server file.

提交回复
热议问题