skip to Main Content

I’m working in Node.js Project.

Surprisingly, app package.json crating a dependencies, "<project_name>": "file:", as follows:
enter image description here

After delete that dependencies, it’s automatically regenerating again & again.

Do you any idea why it’s happening ?
I’m using vscode as code Editor. Is that side effect of any VsCode extension ?
My node version is: "18.17.0"

2

Answers


  1. I had the same problem in VS Code, and for me, it was caused by the Red Hat Dependency Analytics extension. I had to disable all extensions and re-enable them one by one to find the cause.

    The issue has also been posted on GitHub, and it seems to be related to the current version 0.9.5.

    Login or Signup to reply.
  2. Thanks Art Bindu for raising the issue and Michael Frank for a quick solution.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search