Skip to content

Yarn requires version to install dependencies #12

@phongever

Description

@phongever

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions