the thing is, I installed a series of npm packages such as sass-loader, and it ran smoothly, but a new "xxx" package was installed later. When I run npm run build again, I will report that some modules cannot be found, such as lodash.tail shallow-clone
.I have to manually install these modules one by one so that they can run. Even if npm install reinstalls all of them, these modules are still missing.
I"ve always encountered this problem twice. Once I installed a third-party component in vue, and as a result, a lot of modules were missing. Just wrote a simple demo, with only simple css-loader and other basic content, and then installed the npm install jquery, results of each loader began to report errors, missing a bunch.
excuse me, everyone, what"s going on here? Thank you for your attention!