guijs
guijs copied to clipboard
node not found when installed with pnpm
Describe the bug When node is installed with ppnm
To Reproduce Steps to reproduce the behavior:
- curl -fsSL https://get.pnpm.io/install.sh | sh -
- export PNPM_HOME="/home/$USER/.local/share/pnpm"
- export PATH="$PNPM_HOME:$PATH"
- pnpm env use --global 16
- 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
after a few tries running via cli, it started installing packages but then failed with:
thread '<unnamed>' panicked at 'called
Result::unwrap()on an
Err` 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.`
tried with node 14.19.3, same result