Error in the package lock.json

Hi guys!

sorry to open that up again but:

despite i did: Npm ERR! code ELOCKVERIFY - #6 by Colin

cd .node-red
rm -rf node_modules
rm -f package-lock.json
npm install

I still get:

odroid@odroid:~/.node-red$ npm audit fix
npm ERR! Errors were found in your package-lock.json, run  npm install  to fix them.
npm ERR!     Invalid: lock file's @abandonware/noble@1.9.2-15 does not satisfy @abandonware/noble@*

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/odroid/.npm/_logs/2021-11-11T14_22_45_238Z-debug.log

I would apprecite your help. This happens quite ioften and I do not have a solution for that!!!

From that other thread:

The ELOCKVERIFY indication was a result of running npm audit fix .

Simple answer is do not run npm audit fix unless you really know what you are doing.

The audit fix process updates deep dependencies out-of-band and is VERY likely to break things in ways that will be virtually impossible to track down.

I can't say this enough - npm audit fix is EXTREMELY dangerous.

I recommend going back and running those 4 lines again. But then don't do an audit fix.

ok thank you.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.