gridsome / gridsome/gridsome-starter-default

Yarn requires version to install dependencies

Open
#12 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vue
Stars
34
Forks
30
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with package.json and reproduce the issue by creating the starter project, running yarn develop, and then yarn. Check whether the package metadata lacks a version and confirm that the dependency installation completes successfully once the expected metadata is present.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.