Every time I try installing any package or even if I try doing npm install I keep getting this error. I have no idea why I am getting the error. I am totally ne
npm install
It's because of a package-lock.json merge conflict.
package-lock.json
Delete the file, delete node_modules, and run npm install to solve the problem:
node_modules
rm package-lock.json rm -rf node_modules npm install