forestryio / create-static-site

Create static websites with no build configuration.
MIT License
136 stars 10 forks source link

`error: Missing list of packages to add to your project` when yarn is present on system #43

Closed dwalkr closed 6 years ago

dwalkr commented 6 years ago

command:

npx create-static-site testhugo3 --template hugo

It seems when yarn is present on the system, the following output occurs after packages are installed:

Installing dependencies using yarnpkg...

yarn add v1.6.0
error Missing list of packages to add to your project.

Full console output

Yarn seems to be attempting an additional install step after everything is done, and passing an empty list. Running the same create-static-site command when yarn is not present on the system will complete without any errors.

Everything is fully operational in spite of this, but I'm worried that new users will face this error message and think something is wrong.

dwalkr commented 6 years ago

I think this was fixed by 40c99d537f85661879db65150b957ade95aa371b