# Missing nodes, old lockfile and incomplete registry

**URL:** <https://discourse.nodered.org/t/missing-nodes-old-lockfile-and-incomplete-registry/96117>\
**Category:** General\
**Created:** [19 March 2025 19:18 UTC](https://discourse.nodered.org/t/missing-nodes-old-lockfile-and-incomplete-registry/96117 "2025-03-19T19:18:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![maru](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/maru/32/99601_2.png) [@maru](https://discourse.nodered.org/u/maru)\
**Post date:** [19 March 2025 19:18 UTC](https://discourse.nodered.org/t/missing-nodes-old-lockfile-and-incomplete-registry/96117/1 "2025-03-19T19:18:03Z")

</div>

Good evening,

My Rpi4 sdcard broke. New sdcard, new node-RED LTS (v22.14.0) and npm (11.2.0) installation. My flows are back but I'm missing a lot of nodes and when I try to install them I get this message for every node I'm missing:

```auto
npm warn old lockfile
npm warn old lockfile The package-lock.json file was created with an old version of npm,
npm warn old lockfile so supplemental metadata must be fetched from the registry.
npm warn old lockfile
npm warn old lockfile This is a one-time fix-up, please be patient...
npm warn old lockfile
npm error code ENOVERSIONS
npm error No versions available for < node name>

```

These are warnings but the message: " this is a one-time fix-up, please be patient..." doesn't reassure me.  
Have they been removed from the registry ([https://registry.npmjs.org/](https://registry.npmjs.org/))?

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [19 March 2025 19:36 UTC](https://discourse.nodered.org/t/missing-nodes-old-lockfile-and-incomplete-registry/96117/2 "2025-03-19T19:36:48Z")

</div>

It might be worth trying without the old lock file as this will ensure the newest versions of all the dependencies are used, which may skip the missing nodes.

---

<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:** [19 March 2025 21:17 UTC](https://discourse.nodered.org/t/missing-nodes-old-lockfile-and-incomplete-registry/96117/3 "2025-03-19T21:17:11Z")

</div>

Stop Node-RED, delete the lock file, you don't need it. Check that your package.json file contains the expected nodes, delete the `node_modules` folder and then do a `npm install`.

---

<div class="post-metadata">

**Author:** ![maru](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/maru/32/99601_2.png) [@maru](https://discourse.nodered.org/u/maru)\
**Post date:** [20 March 2025 23:13 UTC](https://discourse.nodered.org/t/missing-nodes-old-lockfile-and-incomplete-registry/96117/4 "2025-03-20T23:13:00Z")

</div>

Thank you guys for reading and advice 👍

I followed your advice but unfortunately I kept getting the above messages, even after a reinstall of node-red.  
Because node-RED was the 1st only installation I thought it would be better to start from scratch. Removed the sdcard and reinstalled Pi OS and ran the node-RED installation script (what beautiful scripts!). Then I installed all missing nodes...without any problems. The next step is to restore the backups of my flows. I have confidence 😉

---

<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:** [18 June 2025 23:13 UTC](https://discourse.nodered.org/t/missing-nodes-old-lockfile-and-incomplete-registry/96117/5 "2025-06-18T23:13:50Z")

</div>

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