-
Notifications
You must be signed in to change notification settings - Fork 230
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
Error: Cannot find module '../crypto/util' #514
Comments
how do you load |
That's kinda the thing, I don't. There are only 2 mentions of > find . -type f | xargs egrep -i lazy_transform
node_modules/watchpack-chokidar2/node_modules/fsevents/build/config.gypi: "lib/internal/streams/lazy_transform.js",
node_modules/webpack-dev-server/node_modules/fsevents/build/config.gypi: "lib/internal/streams/lazy_transform.js", |
Any ideas? For now I patched this locally but again, why is that module trying to import |
The main issue seems to be that This is a problem since bundlers / transpilers / test runners can sometimes recursively load all |
Adding it to this list would do: https://github.com/nodejs/readable-stream/blob/main/build/files.mjs Would you like to send a PR? Ideally it should contain a unit test for this issue so we do not regress. |
In a mocha test I use readable-stream and I got this
I did not find why it gets loaded but the fact is there is no
crypto/util.js
or similar module.The text was updated successfully, but these errors were encountered: