guijs icon indicating copy to clipboard operation
guijs copied to clipboard

node not found when installed with pnpm

Open estevesd opened this issue 2 years ago • 2 comments

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 avatar Jun 30 '22 14:06 estevesd

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 avatar Jun 30 '22 14:06 estevesd

tried with node 14.19.3, same result

estevesd avatar Jun 30 '22 15:06 estevesd