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

nodenv: yarn: command not found #1

Open
scowalt opened this issue Apr 11, 2022 · 1 comment
Open

nodenv: yarn: command not found #1

scowalt opened this issue Apr 11, 2022 · 1 comment

Comments

@scowalt
Copy link

scowalt commented Apr 11, 2022

I'm on macOS 12. yarn didn't successfully install with the new version I got from nodenv. Here's the log:

❯ nodenv install 14.19.1
nodenv: /Users/scowalt/.nodenv/versions/14.19.1 already exists
continue with installation? (y/N) y
Downloading node-v14.19.1-darwin-x64.tar.gz...
-> https://nodejs.org/dist/v14.19.1/node-v14.19.1-darwin-x64.tar.gz

WARNING: node-v14.19.1-darwin-x64 is in LTS Maintenance mode and nearing its end of life.
It only receives *critical* security updates, *critical* bug fixes and documentation updates.

Installing node-v14.19.1-darwin-x64...
Installed node-v14.19.1-darwin-x64 to /Users/scowalt/.nodenv/versions/14.19.1

Installing Yarn...
/usr/local/bin/yarn -> /usr/local/lib/node_modules/yarn/bin/yarn.js
/usr/local/bin/yarnpkg -> /usr/local/lib/node_modules/yarn/bin/yarn.js
+ yarn@1.22.18
updated 1 package in 0.796s
nodenv: yarn: command not found

The `yarn' command exists in these Node versions:
  12.14.1
  14.3.0
  14.17.0
  14.17.1
  14.17.3
  14.17.4
  16.2.0
  16.4.0
  16.13.1

Yarn is available in, for example, v14.17.0, but for some reason isn't available in v14.19.1

@pine
Copy link
Owner

pine commented Jan 26, 2023

Hello @scowalt. Thank you for your report.

I tried it, but didn't reproduce.
It is necessary to investigate under what circumstances this occurs.

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