Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/81.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html heroku error TypeError:无法读取属性';原型&x27;未定义的_Html_Socket.io - Fatal编程技术网

Html heroku error TypeError:无法读取属性';原型&x27;未定义的

Html heroku error TypeError:无法读取属性';原型&x27;未定义的,html,socket.io,Html,Socket.io,我正试图将我的代码连接到heroku,但我一直收到一个错误。帮帮我 2020-04-07T20:49:48.451221+00:00 heroku[web.1]: State changed from crashed to starting 2020-04-07T20:49:53.948080+00:00 heroku[web.1]: State changed from starting to crashed 2020-04-07T20:49:53.661562+00:00

我正试图将我的代码连接到heroku,但我一直收到一个错误。帮帮我

2020-04-07T20:49:48.451221+00:00 heroku[web.1]: State changed from crashed to starting     
2020-04-07T20:49:53.948080+00:00 heroku[web.1]: State changed from starting to crashed     
2020-04-07T20:49:53.661562+00:00 app[web.1]:
2020-04-07T20:49:53.661583+00:00 app[web.1]: > heroku_study@1.0.0 start /app
2020-04-07T20:49:53.661583+00:00 app[web.1]: > node server.js
2020-04-07T20:49:53.661584+00:00 app[web.1]:
2020-04-07T20:49:53.848703+00:00 app[web.1]: /app/node_modules/socket.io/lib/store.js:35   
2020-04-07T20:49:53.848705+00:00 app[web.1]: Store.prototype.__proto__ = EventEmitter.prototype;
2020-04-07T20:49:53.848705+00:00 app[web.1]: ^
2020-04-07T20:49:53.848706+00:00 app[web.1]:
2020-04-07T20:49:53.848706+00:00 app[web.1]: TypeError: Cannot read property 'prototype' of undefined