Keystone: `npm init keystone-app my-app` fails if you don鈥檛 have yarn installed

Created on 11 Sep 2019  路  4Comments  路  Source: keystonejs/keystone

Followed the docs on creating a todo app ~ https://v5.keystonejs.com/quick-start/
Failed after "Copying project files"
Screen Shot 2019-09-11 at 1 37 03 pm

Ran npm install to install dependencies and the app worked fine.

bug

Most helpful comment

image

I found the cause and updated the messaging so that you know if dependencies have been installed with yarn or npm.

Thanks @dzigg PR incoming

All 4 comments

Thanks @dzigg it's meant to catch an error if yarn is not installed and fallback to npm. Let me see if I can replicate this :)

image

I found the cause and updated the messaging so that you know if dependencies have been installed with yarn or npm.

Thanks @dzigg PR incoming

Thanks!

Hi all, npm init keystone-app my-app is failing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thekevinbrown picture thekevinbrown  路  31Comments

wesbos picture wesbos  路  16Comments

molomby picture molomby  路  12Comments

gautamsi picture gautamsi  路  14Comments

molomby picture molomby  路  11Comments