错误:Uncaught TypeError: Cannot read property 'WebSocket' of undefined
原因是因为:
加上这句就好了:exclude: /node_modules/
Not Found
The requested URL /js/a7cd77977e4b0c127572.hot-update.json was not found on this server.
本文介绍了一种常见的WebSocket连接问题——'WebSocket'属性未定义错误,并提供了解决方案:通过排除node_modules目录来修复该问题。
The requested URL /js/a7cd77977e4b0c127572.hot-update.json was not found on this server.

被折叠的 条评论
为什么被折叠?