Skip to content

npm WARN @phenomnomnominal/[email protected] requires a peer of typescript@^3 but none is installed #14270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
filipesilva opened this issue Apr 25, 2019 · 1 comment · Fixed by #14271

Comments

@filipesilva
Copy link
Contributor

🐞 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/[email protected] globally there is a peer dependency warning.

🔬 Minimal Reproduction

npm i -g @angular/[email protected]

🔥 Exception or Error


$ npm i -g @angular/[email protected]
C:\Program Files\nodejs\ng -> C:\Program Files\nodejs\node_modules\@angular\cli\bin\ng

> @angular/[email protected] postinstall C:\Program Files\nodejs\node_modules\@angular\cli
> node ./bin/postinstall/script.js

npm WARN @phenomnomnominal/[email protected] requires a peer of typescript@^3 but none is installed. You must install peer dependencies yourself.

+ @angular/[email protected]
updated 2 packages in 8.106s

🌍 Your Environment


Anything else relevant?

@ngbot ngbot bot added this to the Backlog milestone Apr 25, 2019
@filipesilva filipesilva modified the milestones: Backlog, 8.0 Apr 25, 2019
clydin added a commit to clydin/angular-cli that referenced this issue Apr 25, 2019
Replaces the usage of the tsquery package with a conditional based on TypeScript helper functions.  Since a TypeScript-subset is vendored within the package, a TypeScript peer dependency cannot be met even though the functionality is present.

Fixes angular#14270
alexeagle pushed a commit that referenced this issue Apr 25, 2019
Replaces the usage of the tsquery package with a conditional based on TypeScript helper functions.  Since a TypeScript-subset is vendored within the package, a TypeScript peer dependency cannot be met even though the functionality is present.

Fixes #14270
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant