Akryum / guijs

🐣️ The app that makes your #devlife easier.
https://guijs.dev
MIT License
1.28k stars 41 forks source link

node not found when installed with pnpm #132

Open estevesd opened 2 years ago

estevesd commented 2 years ago

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):

estevesd commented 2 years ago

after a few tries running via cli, it started installing packages but then failed with: thread '<unnamed>' panicked at 'calledResult::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 commented 2 years ago

tried with node 14.19.3, same result