Skip to content

yarn list with resolutions gives "expected manifest" errorΒ #4178

@magnushiie

Description

@magnushiie

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
A package using the resolutions feature from #4105 causes yarn list to error out:

yarn list v1.0.0-20170815.1354
warning package.json: No license field
warning No license field
warning Resolution field "[email protected]" is incompatible with requested version "[email protected]"
error An unexpected error occurred: "expected manifest".
info If you think this is a bug, please open a bug report with the information provided in "D:\\Temp\\resolutions\\yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/list for documentation about this command.

If the current behavior is a bug, please provide the steps to reproduce.
package.json:

{
  "resolutions": {
    "@react-pdf/core/react": "16.0.0-beta.5"
  },
  "dependencies": {
    "@react-pdf/core": "^0.4.1",
    "react": "^16.0.0-beta.5",
    "yoga-layout": "^1.6.0"
  }
}
yarn install
yarn list react

What is the expected behavior?
No error

Please mention your node.js, yarn and operating system version.

  • node.js: 8.1.1
  • yarn: nightly (v1.0.0-20170815.1354)
  • OS: Windows 10.0.15063

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions