-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to compile #614
Comments
same problem! |
try to add this configuration in your webpack.config file |
I encountered a similar issue recently. After investigating, I realized that it was related to the node version. |
How did you fix the issue please? The node version I am using is 14, but I got the error |
@kum-deepak , can you please help me to resolve the issue ? I Want to use @stomp/stomp.js 7.0.0 with angular 9 and node 14 ? I had the described error when compiling the project. |
Please follow the tutorial at https://stomp-js.github.io/guide/rx-stomp/rx-stomp-with-angular.html Do not use the latest rx-stomp, instead use 1.2.0. |
Hello @kum-deepak , |
6.1.2 would be fine @narjess89 |
./node_modules/@stomp/stompjs/bundles/stomp.umd.js 501:24
Module parse failed: Unexpected token (501:24)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| };
| this.close();
| code: 4001,
| reason:
Quick discarding socket (#${id}) without waiting for the shutdown sequence.
,The text was updated successfully, but these errors were encountered: