{"id":160,"hash":"13d9495e206c58631dfcc79ede3c30db9ce84093314c76c6e81a3291f32e1799","pattern":"Module not found: Error: Can&#39;t resolve &#39;net&#39; in &#39;node_modules/stompjs/lib&#39;","full_message":"Got an issue where a stompJS-lib was not found, upon which I got the following error message:\n\nModule not found: Error: Can't resolve 'net' in '/../../../.../../../angular-app/node_modules/stompjs/lib'","ecosystem":"npm","package_name":"angular","package_version":null,"solution":"The following command (which installs the missing dependencies):\n\n npm i net -S\n\nThis does not install random packages as assumed below. If you want the frontend to have some level of non-authoritative processing to be done on the client-side of those required dependencies, then this is the option to consider.","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/54275069/module-not-found-error-cant-resolve-net-in-node-modules-stompjs-lib","votes":61,"created_at":"2026-04-19T04:41:25.076010+00:00","updated_at":"2026-04-19T04:51:06.847999+00:00"}