Skip to content

[Bug] yarn doctor problem with git dependencies #778

@andreialecu

Description

@andreialecu
  • I'd be willing to implement a fix

Describe the bug

While running yarn dlx @yarnpkg/doctor . an assertion failed warning will be printed for git dependencies.

➤ YN0000: │ Resolving jest-date-mock@andreialecu/jest-date-mock#build errored with Assertion failed: This resolver cannot be used unless a fetcher is configured

To Reproduce

await packageJsonAndInstall({
  devDependencies: {
    "jest-date-mock": "https://github.com/andreialecu/jest-date-mock.git#build",
  }
});

const output = await yarn(`dlx`, `@yarnpkg/doctor`, `.`);
expect(output).not.toMatch('errored with Assertion failed')

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreproducibleThis issue can be successfully reproduced

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions