最近、npm install を実行しました。これにより、すべてのパッケージが更新されました。何らかの理由で、これは私のウェブサーバーを壊しました (ページを読み込もうとすると、途中までしか読み込まれず、このエラーで終了します)。スタックトレースに表示されるパッケージである socket.io、redis、および nodetime のバージョンをロールバックしようとしましたが、Web サーバーを再び機能させることができませんでした。ヘルプ?私はOS Xで実行しています。
events.js:66
throw arguments[1]; // Unhandled 'error' event
^
TypeError: First argument must be a Buffer
at RedisClient.message (/Users/jchu/code/python/agles/ci/web/back/node_modules/socket.io/lib/stores/redis.js:126:24)
at RedisClient.EventEmitter.emit (events.js:115:20)
at RedisClient.return_reply (/Users/jchu/code/python/agles/ci/web/back/node_modules/socket.io/node_modules/redis/index.js:440:22)
at RedisReplyParser.<anonymous> (/Users/jchu/code/python/agles/ci/web/back/node_modules/socket.io/node_modules/redis/index.js:81:14)
at RedisReplyParser.EventEmitter.emit (events.js:88:17)
at RedisReplyParser.add_multi_bulk_reply (/Users/jchu/code/python/agles/ci/web/back/node_modules/socket.io/node_modules/redis/lib/parser/javascript.js:311:14)
at RedisReplyParser.send_reply (/Users/jchu/code/python/agles/ci/web/back/node_modules/socket.io/node_modules/redis/lib/parser/javascript.js:272:18)
at RedisReplyParser.execute (/Users/jchu/code/python/agles/ci/web/back/node_modules/socket.io/node_modules/redis/lib/parser/javascript.js:222:22)
at RedisClient.on_data (/Users/jchu/code/python/agles/ci/web/back/node_modules/socket.io/node_modules/redis/index.js:358:27)
at Socket.<anonymous> (/Users/jchu/code/python/agles/ci/web/back/node_modules/socket.io/node_modules/redis/index.js:93:14)