-
Notifications
You must be signed in to change notification settings - Fork 20
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
Bug: Node internals added by webpack can't be found with versions action / DuplicatesPlugin #147
Comments
Hi @anatoly314 ! Can you run through the steps outlined in #125 (comment) ? The separate Thanks! |
Output of: `inspectpack -s /PATH/TO/stats.json -a duplicates -f text`
Output of `inspectpack -s /PATH/TO/stats.json -a versions -f text`
You can see my project here: https://github.com/anatoly314/kodi-remote-subtitles |
Thanks! @keithcom and I have been looking into this. I think there's two things going on:
@keithcom traced the dep path to:
Assuming that all checks out, we'll probably re-title this ticket to something like "Webpack added node internals aren't found in |
We now have a simplified error case of an application that entirely consists of: const crypto = require("crypto");
console.log(crypto.createHash("sha256").update("hello", "utf8").digest()); When we then run: $ cd test/fixtures/node-libs
$ node ../../../bin/inspectpack.js -s dist-development-4/stats.json -a duplicates
$ node ../../../bin/inspectpack.js -s dist-development-4/stats.json -a versions We get an analogous situation for the |
@anatoly314 While we work through this I think your practical takeaway is:
|
Same issue when using |
Trying to use this plugin together with VueJS project generated by vue-cli 3.0, but have the following issue:
Missing sources: Expected 126, found 0.
and don't get a list of duplicated resources. When I open mydist
folder, I see thatsource map
generated if it what it means.What I do wrong?
My
vue.config.js
is following:And full output by
inspectpack
if followingThe text was updated successfully, but these errors were encountered: