Got an issue where a stompJS-lib was not found, upon which I got the following error message:
Module not found: Error: Can't resolve 'net' in '/../../../.../../../angular-app/node_modules/stompjs/lib'
solved it with the following command:
npm i net -S