mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-15 14:15:50 -06:00
[GH-ISSUE #277] npm not found in CLI when npm is not installed #187
Labels
No labels
bug
documentation
enhancement
libui issue
pull-request
question
wait for libui implementation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/proton-native#187
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @v1rtl on GitHub (Mar 26, 2020).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/277
Describe the bug
When I don't have npm installed, CLI throws an error
To Reproduce
Expected behavior
CLI should fallback to pnpm and yarn if npm is not present
Versions:
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)