Skip to content

[rush] can't add @types/react #1837

Open
@ksjogo

Description

@ksjogo

Is this a feature or a bug?

  • Feature
  • Bug

Please describe the actual behavior.

For some unknown reason I can't rush add -p @types/react anymore without installing a react version with a matching version.
Going to common-versions.json
and adding

"preferredVersions": {
    "@types/react": "16.9.0"
  },

will crash rush update with ... can't find ... /react/16.9.0 ...

whereas

"preferredVersions": {
"react": "16.9.0",
"@types/react": "16.9.0"
},

works.
There seems to some problem with the `@types` prefix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs more infoWe can't proceed because we need a better repro or an answer to a question

    Type

    No type

    Projects

    Status

    Needs Investigation

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions