-
Notifications
You must be signed in to change notification settings - Fork 321
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
Madge is not detecting the right version of Typescript and incorrect warning #416
Comments
If you run Lately, I run into a similar issues and forces those packages version package.json overrides mechanism:
The issue you mentioned disappeared and my project was still operational 😎 |
@tetedacier thanks, I cannot use overrides, but I tested and it didn't eliminate the warning from madge.
I downgraded to 5.1.6. It is not identifying typescript version correctly. |
I ran
After overriding in package.json as tetedacier suggested the warning disappeared
|
My root package.json
`"typescript": "5.2.2",
No other file has "typescript" in it. My global npm
`"typescript": "5.2.2",
I checked the node_modules/typescript/package.json
I also used qnm
5.2.2 is installed. I ripgrep for 5.4.5 and nothing. I can't determine how madge thinks I have 5.4.5.
I still get
The text was updated successfully, but these errors were encountered: