Advertisement
SnowyCoder

simple-peer vs msgpack incompatibility

Nov 11th, 2021
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. ERROR in ./node_modules/@msgpack/msgpack/dist.es5+esm/utils/utf8.mjs 2:38-45
  2. Module not found: Error: Can't resolve 'process/browser' in '/path/to/proj/node_modules/@msgpack/msgpack/dist.es5+esm/utils'
  3. Did you mean 'browser.js'?
  4. BREAKING CHANGE: The request 'process/browser' failed to resolve only because it was resolved as fully specified
  5. (probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
  6. The extension in the request is mandatory for it to be fully specified.
  7. Add the extension to the request.
  8. resolve 'process/browser' in '/path/to/proj/node_modules/@msgpack/msgpack/dist.es5+esm/utils'
  9. Parsed request is a module
  10. using description file: /path/to/proj/node_modules/@msgpack/msgpack/package.json (relative path: ./dist.es5+esm/utils)
  11. Field 'browser' doesn't contain a valid alias configuration
  12. resolve as module
  13. /path/to/proj/node_modules/@msgpack/msgpack/dist.es5+esm/utils/node_modules doesn't exist or is not a directory
  14. /path/to/proj/node_modules/@msgpack/msgpack/dist.es5+esm/node_modules doesn't exist or is not a directory
  15. /path/to/proj/node_modules/@msgpack/msgpack/node_modules doesn't exist or is not a directory
  16. /path/to/proj/node_modules/@msgpack/node_modules doesn't exist or is not a directory
  17. /path/to/proj/node_modules/node_modules doesn't exist or is not a directory
  18. looking for modules in /path/to/proj/node_modules
  19. existing directory /path/to/proj/node_modules/process
  20. using description file: /path/to/proj/node_modules/process/package.json (relative path: .)
  21. using description file: /path/to/proj/node_modules/process/package.json (relative path: ./browser)
  22. Field 'browser' doesn't contain a valid alias configuration
  23. /path/to/proj/node_modules/process/browser doesn't exist
  24. /path/to/node_modules doesn't exist or is not a directory
  25. /path/node_modules doesn't exist or is not a directory
  26. /node_modules doesn't exist or is not a directory
  27. @ ./node_modules/@msgpack/msgpack/dist.es5+esm/Encoder.mjs 1:0-97 181:24-46 182:29-38 185:12-24 189:29-38 192:12-24
  28. @ ./node_modules/@msgpack/msgpack/dist.es5+esm/index.mjs 11:0-40 12:0-19
  29. @ ./src/app/index.ts 11:0-46 39:31-40 43:27-36
  30.  
  31. webpack 5.62.1 compiled with 1 error in 29680 ms
  32. ℹ 「wdm」: Failed to compile.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement