Skip to content
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

Typescript version warning #8

Closed
mitschmidt opened this issue Oct 26, 2018 · 5 comments
Closed

Typescript version warning #8

mitschmidt opened this issue Oct 26, 2018 · 5 comments
Assignees

Comments

@mitschmidt
Copy link

Thanks for this very useful package, I used to commit fits and fescribes on a regular base, but now with tslint-defocus our pre commit hooks and CI pipeline catches these quite well.

However, both with Typescript 2.9.2 and 3.1.1 I am receiving this warning message for npm install:

[email protected] requires a peer of typescript@^2.x | ^3.x but none is installed. You must install peer dependencies yourself.

Is anybody else having the same issue?

@owain-llewellyn-sp
Copy link

owain-llewellyn-sp commented Oct 29, 2018

I'm seeing the same issue:

WARN [email protected] requires a peer of typescript@^2.x | ^3.x but none is installed. You must install peer dependencies yourself.

Versions

"tslint-defocus": "^2.0.5",
"typescript": "~3.1.3",

@akurtovic
Copy link

Seeing the same issue while trying to do update from ng6 to ng7.

Package "tslint-defocus" has an incompatible peer dependency to "typescript" (requires "^2.x | ^3.x", would install "3.1.6").

@BitTerminator
Copy link

BitTerminator commented Nov 12, 2018

I had this issue too when updating to angular 7. I had to use the --force option to upgrade. tslint-defocus still works fine.

angular/angular-cli#10875

@mitschmidt
Copy link
Author

@Sergiioo maybe it would be advisable to just fix the version reference accordingly?

@Sergiioo
Copy link
Owner

Thanks for the heads up, and I'm sorry it took a while to get round to sorting it out. I've just published version 2.0.6 which fixes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants