# Error in the package lock.json

**URL:** https://discourse.nodered.org/t/error-in-the-package-lock-json/53576
**Category:** Developing Nodes
**Created:** [11 November 2021 14:27 UTC](https://discourse.nodered.org/t/error-in-the-package-lock-json/53576 "2021-11-11T14:27:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![habakuk25](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/habakuk25/32/80963_2.png) [@habakuk25](https://discourse.nodered.org/u/habakuk25)
#### Post date: [11 November 2021 14:27 UTC](https://discourse.nodered.org/t/error-in-the-package-lock-json/53576/1 "2021-11-11T14:27:57Z")

</div>

Hi guys!

sorry to open that up again but:

despite i did: [Npm ERR! code ELOCKVERIFY - #6 by Colin](https://discourse.nodered.org/t/npm-err-code-elockverify/24873/6)

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

```

I still get:

```auto
odroid@odroid:~/.node-red$ npm audit fix
npm ERR! code ELOCKVERIFY
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!!!

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [11 November 2021 14:36 UTC](https://discourse.nodered.org/t/error-in-the-package-lock-json/53576/2 "2021-11-11T14:36:38Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![habakuk25](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/habakuk25/32/80963_2.png) [@habakuk25](https://discourse.nodered.org/u/habakuk25)
#### Post date: [11 November 2021 15:24 UTC](https://discourse.nodered.org/t/error-in-the-package-lock-json/53576/3 "2021-11-11T15:24:56Z")

</div>

ok thank you.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [10 January 2022 15:24 UTC](https://discourse.nodered.org/t/error-in-the-package-lock-json/53576/4 "2022-01-10T15:24:57Z")

</div>

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