gridsome / gridsome-starter-default

🐣 Default starter for Gridsome
https://gridsome-starter-default.netlify.app/
35 stars 33 forks source link

Yarn requires version to install dependencies #12

Open phongever opened 4 years ago

phongever commented 4 years ago

I am using gridsome-starter-default for my website. When I create a new project and use yarn develop to start the project, it shows this message Please run yarn to install dependencies first.. I enter yarn to install dependencies but it shows this warning and error message

warning Missing version in workspace at "/home/phong/Projects/koogio/projects/koogio-website", ignoring.
error An unexpected error occurred: "Cannot read property 'manifest' of undefined".
info If you think this is a bug, please open a bug report with the information provided in "/home/phong/Projects/koogio/projects/koogio-website/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

After researching on Google, I enter the version of the project and try again. It works. I think it needs a default version in package.json

phongever commented 4 years ago

I open a pull request to fix this #13