socket.io-client angularjs “Uncaught Error: Module name ‘socket.io-client’ has not been loaded yet for context: _”.
change:
1 2 3 4 5 |
paths: { socketio: 'https://localhost/myapp/node_modules/socket.io/lib/socket.io' }, |
to
1 2 3 4 5 |
paths: { socketio: 'https://localhost/myapp/node_modules/socket.io/node_modules/socket.io-client/dist/socket.io' }, |
ref:
https://github.com/cri5ti/html5-bomberman/issues/2