npm i - installs the packages in package.json but rewrites the lock file, which because of both the ecosystem and the default behaviour of npm i -s, means that different people working on the same code base can have very different packages installed, which can lead to problems. npm ci is the better way of installing packages from package.json
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
npm i - installs the packages in package.json but rewrites the lock file, which because of both the ecosystem and the default behaviour of npm i -s, means that different people working on the same code base can have very different packages installed, which can lead to problems. npm ci is the better way of installing packages from package.json