-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Error about workspaces(multi packages) and cli-plugin-e2e-cypress #2627
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
Comments
This only happens when the project is in workspaces. Some times it will |
the error about @babel/parse and postcss
but if i delete the node_modules and reinstall dependencies,
|
Duplicate of #2599 |
It resolved. |
Thanks for your report. I think it's also been reported before #2572 |
The two issues can be solved by adding these lines to const path = require('path')
module.exports = {
css: {
loaderOptions: {
postcss: {
path: __dirname
}
}
},
chainWebpack: config =>
config.resolveLoader.modules.add(
`${path.dirname(require.resolve('@vue/cli-plugin-babel'))}/node_modules`
)
} |
Update: the original module path is wrong, I've updated it in the previous comment (should wrap the |
super thx |
Version
3.0.4
Reproduction link
https://github.com/duduluu-contrib/vue-cli-bug00
Node and OS info
node v10.11.0 / yarn 1.9.4 / OS WSL ubutun18.04
Steps to reproduce
clone the repo and checkout branch with-e2e-cypress
go into the project 'packages/ts' directory and run
yarn serve
What is expected?
Expect cli-service serve and build work fine, but not.
What is actually happening?
There is a branch without-e2e-cypress, the cli-service work fine on serve and build.
The text was updated successfully, but these errors were encountered: