You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.
Item
Version
generator-angular-fullstack
3.7.6
Node
6.9.5
npm
3.10.10
Operating System
OS X 10
Item
Answer
Transpiler
TypeScript
Markup
HTML
CSS
LESS
Router
ui-router
Client Tests
Jasmine
DB
MongoDB
Auth
Y
Socket.io
Y
After updating bower components and node modules, I started getting this error when pushing to Heroku:
I'm really lost with what to do... I think this is coming from socket.service.ts, but I'm not sure what would have changed so that the library that provides io isn't attached after gulp build. I've gone to Heroku with no success, so I'm putting it here, hoping it's a bug in the package.json file and something needs to be rolled back? Like with #2479 which I also had happen at the same time. Any thoughts on anything I should try? Or is there a more correct place to go for help than here?
The text was updated successfully, but these errors were encountered:
This was not a bug with angular-fullstack... I am the bug. I don't understand how, but the socket.io-client library was removed, as @Awk34 suggested in another thread somewhere. index.html was initially looking for it here "/socket.io-client/socket.io.js", but that location wasn't copied when I ran gulp build, which explains why I only had a problem in production. I changed it to "bower_components/socket.io-client/socket.io.js" but that made it break both in production AND locally, which is when another thread #766 I found came to mind, suggesting socket.io-client was now in a dist folder. Now the source is "bower_components/socket.io-client/dist/socket.io.js" and that works. Thanks to @Awk34 and @xeroxoid
After updating bower components and node modules, I started getting this error when pushing to Heroku:
I'm really lost with what to do... I think this is coming from socket.service.ts, but I'm not sure what would have changed so that the library that provides io isn't attached after
gulp build
. I've gone to Heroku with no success, so I'm putting it here, hoping it's a bug in the package.json file and something needs to be rolled back? Like with #2479 which I also had happen at the same time. Any thoughts on anything I should try? Or is there a more correct place to go for help than here?The text was updated successfully, but these errors were encountered: