Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Runtime crashes due to transitive dependency object-inspect > util #144

Open
grigala opened this issue Jul 31, 2023 · 1 comment
Open

Runtime crashes due to transitive dependency object-inspect > util #144

grigala opened this issue Jul 31, 2023 · 1 comment

Comments

@grigala
Copy link

grigala commented Jul 31, 2023

Tried to tinker with Webpack settings and also tried to install util dependency but unfortunately nothing helped.

ns --version
8.5.3
✔ Up to date.
 ERROR Error: Uncaught (in promise): Error: Cannot find module 'util'
  Error: Cannot find module 'util'
  at webpackMissingModule (file: src/webpack:.../node_modules/object-inspect/util.inspect.js:1:0)
  at Object../node_modules/object-inspect/util.inspect.js (file: src/webpack:.../node_modules/object-inspect/util.inspect.js:1:0)
  at __webpack_require__ (file: src/webpack:.../webpack/bootstrap:24:0)
  at fn (file: src/webpack:.../webpack/runtime/hot module replacement:62:0)
  at Object../node_modules/object-inspect/index.js (file: src/webpack:.../node_modules/object-inspect/index.js:68:18)
  at __webpack_require__ (file: src/webpack:.../webpack/bootstrap:24:0)
  at fn (file: src/webpack:.../webpack/runtime/hot module replacement:62:0)
  at Object../node_modules/side-channel/index.js (file: src/webpack:.../node_modules/side-channel/index.js:5:14)
  at __webpack_require__ (file: src/webpack:.../webpack/bootstrap:24:0)
  at fn (file: src/webpack:.../webpack/runtime/hot module replacement:62:0)
@darklight365
Copy link

@grigala - you could temporarily patch this by adding the following to your package.json's dependencies:
"qs": "npm:querystring@^0.2.0",

History behind why this would be needed: The url library (https://www.npmjs.com/package/url) used internally within this repo had updated the library being used for querystring implementation, see that change here:
defunctzombie/node-url@ab4a301

This will be a bandaid solution since this repository is no longer actively maintained, see conversation here:
#142 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants