Skip to content

npm WARN @phenomnomnominal/tsquery@3.0.0 requires a peer of typescript@^3 but none is installed #14270

Closed
@filipesilva

Description

@filipesilva

🐞 Bug report

Command (mark with an x)

- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Is this a regression?

Yes, the previous version in which this bug was not present was: 7.x

Description

When install @angular/cli@8.0.0-beta.18 globally there is a peer dependency warning.

🔬 Minimal Reproduction

npm i -g @angular/cli@8.0.0-beta.18

🔥 Exception or Error


$ npm i -g @angular/cli@8.0.0-beta.18
C:\Program Files\nodejs\ng -> C:\Program Files\nodejs\node_modules\@angular\cli\bin\ng

> @angular/cli@8.0.0-beta.18 postinstall C:\Program Files\nodejs\node_modules\@angular\cli
> node ./bin/postinstall/script.js

npm WARN @phenomnomnominal/tsquery@3.0.0 requires a peer of typescript@^3 but none is installed. You must install peer dependencies yourself.

+ @angular/cli@8.0.0-beta.18
updated 2 packages in 8.106s

🌍 Your Environment


Anything else relevant?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions