nodecg / generator-nodecg

Yeoman generator for NodeCG bundles
16 stars 8 forks source link

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

Open tobybaratta opened 1 year ago

tobybaratta commented 1 year ago

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:

Expected behavior

Either:

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.