create-choo-app icon indicating copy to clipboard operation
create-choo-app copied to clipboard

Naming the directory "choo" aborts installation

Open crcdng opened this issue 6 years ago • 1 comments

> npx create-choo-app choo
...
Installing packages, this might take a couple of minutes.
Installing choo, choo-service-worker, sheetify, and tachyons…

Aborting installation. The following error occured:
  npm install --save --loglevel error choo choo-service-worker sheetify tachyons

Deleting generated file… package.json
Deleting generated file… node_modules
Cleanup completed, please try again sometime.
> npx --version
6.7.0
> sw_vers -productVersion 
10.14.3

crcdng avatar Mar 19 '19 19:03 crcdng

oh yeah, that's a problem with npm itself. You can't name the repository the same as one of the dependencies. We could probably check for this ourselves before having npm give cryptic errors. Sorry about this!

yoshuawuyts avatar Mar 20 '19 14:03 yoshuawuyts