Closed JayKan closed 6 years ago
Great work here @alexcastillo!!
Here is a little bug that relates to vendor file socket.io-client not found. Please see attached screenshot for reference:
socket.io-client
For those who are also encountering this error, please follow the following steps to resolve your issue:
angular-cli-build.js
socket.io-client/socket.io.js
socket.io-client/dist/socket.io.js
system-config.ts
vendor/socket.io-client/dist/socket.io.js
Once you have edited those two files, re-run npm run visualize or npm run simulate, you should get your app running smoothly!
npm run visualize
npm run simulate
Also, I have noticed current app is still running on @angualr rc versions, any ideas when you would like to upgrade to the latest @angular?
Cheers, Jay Kan
Got it working with a hack. Paste
https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.7.3/socket.io.js in place of the vendor/socket.io-client/socket.io.js in system-config.ts
https://cdnjs.cloudflare.com/ajax/libs/socket.io/1.7.3/socket.io.js
vendor/socket.io-client/socket.io.js
thank you!!
Great work here @alexcastillo!!
Here is a little bug that relates to vendor file
socket.io-client
not found. Please see attached screenshot for reference:For those who are also encountering this error, please follow the following steps to resolve your issue:
angular-cli-build.js
file by replacing vendorNpmFilessocket.io-client/socket.io.js
tosocket.io-client/dist/socket.io.js
system-config.ts
file by pointing const mapsocket.io-client
property tovendor/socket.io-client/dist/socket.io.js
Once you have edited those two files, re-run
npm run visualize
ornpm run simulate
, you should get your app running smoothly!Also, I have noticed current app is still running on @angualr rc versions, any ideas when you would like to upgrade to the latest @angular?
Cheers, Jay Kan