Skip to content

Conversation

besserwisser
Copy link

The command npm root -g fails, if packageManager is set to pnpm or yarn. It doesn't return a path in this case, but instead a warning. In this PR I try to use the appropriate command with npm as default/fallback.

Please have a good look, since I am really new to lua and script development. I used github copilot heavily to write the code.

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

Successfully merging this pull request may close these issues.

1 participant