-
Notifications
You must be signed in to change notification settings - Fork 916
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
Cannot find module 'webpack/lib/RuleSet' #1586
Comments
A local webpack package is required. It's listed in the package.json: Lines 35 to 38 in d3fa467
|
@sodatea Shouldn't it be added as a proper dependency when it's a required dependency for vue-loader? |
Peer dependency is a proper type of dependency. |
i solved it by install [email protected] |
Running this solves my problem
It installs
|
i solve my same problem in your way,thanks |
Version
15.7.1
Steps to reproduce
Install webpack globally
Install vue-loader locally (webpack does not respect global vue-loader installs)
Create a webpack.js.config like this:
npx webpack
What is expected?
Correct module imports
What is actually happening?
Wrong import paths are used
Cannot find module 'webpack/lib/RuleSet
The text was updated successfully, but these errors were encountered: