choojs / create-choo-app

🚞 - create a fresh choo application
MIT License
181 stars 36 forks source link

Naming the directory "choo" aborts installation #69

Open crcdng opened 5 years ago

crcdng commented 5 years ago
> 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
yoshuawuyts commented 5 years ago

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!