Giter VIP home page Giter VIP logo

Comments (6)

milaninfy avatar milaninfy commented on August 28, 2024

@naresh1054 Please provide steps to reproduce to understand for which situation it's happening.

from cli.

naresh1054 avatar naresh1054 commented on August 28, 2024

@milaninfy I had a project a long time back, when I came back and tried starting it using the command npm start it started adding a new line in the dependencies section of package.json with key as project name and value as "file:". I am facing the same issue in all of my projects. I tried deleting the lock file along with node_modules but still, the issue was not resolved.

from cli.

milaninfy avatar milaninfy commented on August 28, 2024

you mentioned that all your project is having this issue in the description, is it happening when you do npm install or when you do script run like npm run start ?

from cli.

naresh1054 avatar naresh1054 commented on August 28, 2024

It's happening in both scenarios: whether I remove the line from package.json and then run npm install, or simply remove the line from package.json without running any commands, the line gets automatically added back into the file.

from cli.

milaninfy avatar milaninfy commented on August 28, 2024

@naresh1054 Issue seems like unrelated to npm cli, but to be sure Could you please check the same with different version of npm? e.g. if you are using 10.8.2, try with 10.7.0 of some other lower version if it's the same.

from cli.

seifeddine-brahem avatar seifeddine-brahem commented on August 28, 2024

@naresh1054 , if you are using VS code and installed the extension Red Hat Dependency Analytics disable it for now , for my case it was the problem with their last version (V 0.9.5 )

from cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.