-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
vue inspect --rules error #2206
Comments
Could you provide your |
Here you are:
|
As a workaround, always use The root cause here is that the merge strategy of |
I had the same issue using this: But it works if I change it to this: @yyx990803 I believe this commit 2257034 fixed the issue. Will this be released soon? |
Version
3.0.0
Node and OS info
yarn 1.9.4 / Linux Mint 19
Steps to reproduce
Just typing vue inspect --rule vue OR vue inspect --rules shows this error.
What is expected?
A list of webpack rules.
What is actually happening?
TypeError: Cannot read property '0' of undefined
at config.module.rules.map.r (/home/jesus/apps/annexum-new-webpack/node_modules/@vue/cli-service/lib/commands/inspect.js:25:55)
at Array.map ()
at api.registerCommand.args (/home/jesus/apps/annexum-new-webpack/node_modules/@vue/cli-service/lib/commands/inspect.js:25:33)
at Service.run (/home/jesus/apps/annexum-new-webpack/node_modules/@vue/cli-service/lib/Service.js:203:12)
at Object. (/home/jesus/apps/annexum-new-webpack/node_modules/@vue/cli-service/bin/vue-cli-service.js:22:9)
at Module._compile (module.js:649:30)
at Object.Module._extensions..js (module.js:660:10)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:501:12)
at Function.Module._load (module.js:493:3)
at Function.Module.runMain (module.js:690:10)
at startup (bootstrap_node.js:194:16)
at bootstrap_node.js:666:3
The text was updated successfully, but these errors were encountered: