Skip to content

Yarn requires version to install dependencies #12

Open
@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

Activity

linked a pull request that will close this issue on Jan 6, 2020
phongever

phongever commented on Jan 6, 2020

@phongever
Author

I open a pull request to fix this #13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @phongever

      Issue actions

        Yarn requires version to install dependencies · Issue #12 · gridsome/gridsome-starter-default