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

WSL2 - Can't install project with jscodeshift in dependencies #579

Closed
okwergot opened this issue Dec 20, 2023 · 1 comment
Closed

WSL2 - Can't install project with jscodeshift in dependencies #579

okwergot opened this issue Dec 20, 2023 · 1 comment

Comments

@okwergot
Copy link

Hello!
my project have dependency to package

jscodeshift@^0.14.0:
version "0.14.0"
resolved "https://registry.yarnpkg.com/jscodeshift/-/jscodeshift-0.14.0.tgz#7542e6715d6d2e8bde0b4e883f0ccea358b46881"
integrity sha512-7eCC1knD7A==
dependencies:
....
flow-parser "0.*"

when i try install packages on wsl2 or win10 , yarn throw error

➤ YN0000: · Yarn 4.0.2
➤ YN0000: ┌ Resolution step
➤ YN0082: │ flow-parser@npm:0.*: No candidates found
➤ YN0000: └ Completed in 17s 493ms
➤ YN0000: · Failed with errors in 17s 508ms

@ElonVolo
Copy link
Collaborator

ElonVolo commented Dec 20, 2023

Here's my standard troubleshooting

  1. Delete package-lock.json or yarn.lock
  2. Delete node_modules/ directory
  3. Upgrade to latest jscodeshift
  4. run npm install or yarn install
  5. If still not working, download ncu and update all packages and repeat steps 1, 2, and 4
  6. If it's still not working, completely deinstall node from your computer, reboot, and reinstall it and repeat steps 1-5.
  7. If it still doesn't work by this point, write a stern e-mail to Satya Nadella asking him to take some responsibility for him company's stack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants