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

npm not found in CLI when npm is not installed #277

Open
talentlessguy opened this issue Mar 26, 2020 · 0 comments
Open

npm not found in CLI when npm is not installed #277

talentlessguy opened this issue Mar 26, 2020 · 0 comments
Labels

Comments

@talentlessguy
Copy link

Describe the bug
When I don't have npm installed, CLI throws an error

To Reproduce

  1. Install CLI (using yarn / pnpm)
  2. Try this:
$ proton-native init QuarkPlayer
Creating a new Proton Native app on /home/v1rtl/Coding/QuarkPlayer

Installing packages... This may take a few minutes. 

/bin/sh: npm: command not found

Expected behavior
CLI should fallback to pnpm and yarn if npm is not present

Versions:

  • OS: Linux 5 x64
  • Version: 2.0.4
  • Node version 13.11.0

Additional context

There are other package managers than npm, two most popular are yarn and pnpm, so it is worth falling back to them in case npm is not in PATH (I use pnpm and don't have npm installed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant