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

isort extension automatically injects self-referencing "file:" dependency that breaks npm behavior #418

Closed
therightstuff opened this issue Sep 15, 2024 · 2 comments
Labels
bug Issue identified by VS Code Team member as probable bug triage-needed Issue is not triaged.

Comments

@therightstuff
Copy link

Recently, I noticed that all of my package.json files were being injected with a new dependency entry, the name of the package followed by "file:" eg.

   ...,
   "myPackageName": "file:",
   ...

causing certain builds (or deployments) to fail due to the self-reference.

After enabling / disabling each of my extensions, I discovered that the isort extension is what's doing this, it's not clear why nor how to get it to stop. I've now disabled isort on my projects until this is resolved, but I quite like isort so I'd really appreciate it if you guys could fix it.

@therightstuff therightstuff added the bug Issue identified by VS Code Team member as probable bug label Sep 15, 2024
@github-actions github-actions bot added the triage-needed Issue is not triaged. label Sep 15, 2024
@therightstuff
Copy link
Author

I apologize, it looks like the actual culprit is still at large, there was just a longer delay than usual before the lines were restored. Closing as irrelevant.

@therightstuff
Copy link
Author

(for anyone who's been misdirected here and is interested, it turned out to be redhat's dependency analytics )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug triage-needed Issue is not triaged.
Projects
None yet
Development

No branches or pull requests

1 participant