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

bug: Running yo nodecg in a random empty folder inside of nodecg shows error message about package manager #96

Open
tobybaratta opened this issue Aug 6, 2023 · 0 comments

Comments

@tobybaratta
Copy link
Member

Reproduction steps:

  1. Have Node and npm installed, using nvm.
  2. Run yo nodecg in an entirely empty folder.
  3. Answer prompts normally.
  4. See below error message (should maybe be a warning?)
image

Environment:

  • Node version: v18.16.1
  • NPM Version: 9.8.0
  • Windows 11, run in pwsh preview through Windows Terminal.

Expected behavior

Either:

  • detect I am using npm somehow magically
  • prompt me and ask what package manager I'm using

Do not fall back to npm without confirming with end-user that that's the desired behavior, IMO, to avoid running into annoying potential symlink issues further down the line.

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

No branches or pull requests

1 participant