-
Notifications
You must be signed in to change notification settings - Fork 132
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
@babel/helper-module-imports is not listed in dependencies, fails to run with pnpm #155
Comments
Same goes for |
Does |
Of course it does, same as npm and yarn. With npm and yarn 'flattening' node_modules, the two unlisted packages are there by coincidence (pulled by some other related project module), so the mistake is not apparent. With npmp there is no flattening and the mistake becomes apparent. |
That's not correct. These deps will only be ignored when you run See: https://docs.npmjs.com/cli/install
Edit: However, I agree that it might still be better to list it under But OTOH I feel like the |
Correct. But this is not recursive. So if a user checks out It's not specific to
you will see:
The difference between |
I have the same issue with Yarn 2 PnP. I resolved it by adding to packageExtensions:
babel-plugin-transform-vue-jsx@*:
dependencies:
"@babel/helper-module-imports": "*" But this is really just a band-aid. |
@babel/helper-module-imports
is directly used:babel-plugin-transform-vue-jsx/index.js
Line 4 in 3c6dcca
pnpm
managed environment.@babel/helper-module-imports
must be moved fromdevDependencies
todependencies
.The text was updated successfully, but these errors were encountered: