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

it seems to require yarn. not falling back to npm

Open barrars opened this issue 5 years ago • 2 comments

node v10.16.0 npm v6.14.5

~ create-expressjs-app ci -u npm my-express
Error: Command failed: yarn --version /bin/sh: 1: yarn: not found

Does this work with npm?

barrars avatar May 11 '20 07:05 barrars

Hi @barrars. First you must install yarn globally : sudo npm install yarn -g then run create-expressjs-app ci my-express by default create-expressjs-app uses npm to install packages so you don't need to specify -u npm

getspooky avatar May 11 '20 15:05 getspooky

Nice repo. I appreciate your work. I run into the same issue. I would recommend to add yarn to section Requirements and maybe as a installation step.

nils-hoyer avatar Dec 02 '20 07:12 nils-hoyer