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

node not found when installed with pnpm #132

Open
estevesd opened this issue Jun 30, 2022 · 2 comments
Open

node not found when installed with pnpm #132

estevesd opened this issue Jun 30, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@estevesd
Copy link

estevesd commented Jun 30, 2022

Describe the bug
When node is installed with ppnm

To Reproduce
Steps to reproduce the behavior:

  1. curl -fsSL https://get.pnpm.io/install.sh | sh -
  2. export PNPM_HOME="/home/$USER/.local/share/pnpm"
  3. export PATH="$PNPM_HOME:$PATH"
  4. pnpm env use --global 16
  5. which node => /home/$USER/.local/share/pnpm/node

Expected behavior
node is installed and working so it should be detected

Desktop (please complete the following information):

  • OS: Ubuntu 20.04
  • Node version: v16.15.0
  • pnpm version : 7.1.5
  • Are you using nvm? : No
@estevesd estevesd added the bug Something isn't working label Jun 30, 2022
@estevesd
Copy link
Author

estevesd commented Jun 30, 2022

after a few tries running via cli, it started installing packages but then failed with:
thread '<unnamed>' panicked at 'called Result::unwrap()on anErr` value: Error { inner:

Cannot find binary path }', src/libcore/result.rs:1188:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.`

@estevesd
Copy link
Author

tried with node 14.19.3, same result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant