Skip to content
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

[v6.20.0] Pre npm install not resolving. #2428

Closed
mikael-j-rich opened this issue Mar 6, 2023 · 7 comments · Fixed by #2435 · 4 remaining pull requests
Closed

[v6.20.0] Pre npm install not resolving. #2428

mikael-j-rich opened this issue Mar 6, 2023 · 7 comments · Fixed by #2435 · 4 remaining pull requests
Labels
bug Something isn't working

Comments

@mikael-j-rich
Copy link

Describe the bug
I run npm install for several eslint plugins and suddenly they stopped working. npm install is complaining about not being able to resolve stylelint correctly. I don't have stylelint as a dependency.

This causes the eslint plugins to not install.

To Reproduce
Steps to reproduce the behavior:

  1. Add npm install @vue/eslint-config-typescript @vue/eslint-config-prettier in PRE_COMMANDS.
  2. Run the linter

Expected behavior
The npm install should properly resolve.

Screenshots
Screenshot 2023-03-06 at 17 08 21

@mikael-j-rich mikael-j-rich added the bug Something isn't working label Mar 6, 2023
@nvuillam
Copy link
Member

nvuillam commented Mar 6, 2023

Hmmmm that's not good
Meanwhile we find a solution, can you try to add --force to your npm install PRE_COMMANDS ?

@mikael-j-rich
Copy link
Author

@nvuillam sure, works like a charm for now! 😄

@nvuillam
Copy link
Member

nvuillam commented Mar 6, 2023

@mikael-j-rich that's ugly but does the job... we'll still try to find a fix anyway !

@mikael-j-rich
Copy link
Author

I don't doubt it! Thanks for the quick response 😄

@nvuillam
Copy link
Member

nvuillam commented Mar 8, 2023

@mikael-j-rich please can you remove the --force and confirm that's ok with latest version? :) v6 ou v6.20.1

@mikael-j-rich
Copy link
Author

@nvuillam Works like a charm! 😄 Thanks for the quick response and fix!

@nvuillam
Copy link
Member

nvuillam commented Mar 9, 2023

@mikael-j-rich I transfer your thanks to the great @echoix who solved the issue ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment