# Node-RED 2.1.1 - PiZero install fail

**URL:** <https://discourse.nodered.org/t/node-red-2-1-1-pizero-install-fail/52662>\
**Category:** News\
**Created:** [24 October 2021 05:35 UTC](https://discourse.nodered.org/t/node-red-2-1-1-pizero-install-fail/52662 "2021-10-24T05:35:53Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [24 October 2021 05:35 UTC](https://discourse.nodered.org/t/node-red-2-1-1-pizero-install-fail/52662/1 "2021-10-24T05:35:53Z")

</div>

Just gone all in with node16 on a new PiZero setup - JFI got this on 1st start-up

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/a/aa743144dbe6c1c8f3f5c057fc048423e5e943e0.jpeg)

I won't touch it in case you want me to do any diagnostics on the syntax error

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [24 October 2021 06:33 UTC](https://discourse.nodered.org/t/node-red-2-1-1-pizero-install-fail/52662/2 "2021-10-24T06:33:00Z")

</div>

Change the log level to Trace in settings.js and see if you get more information about which node is causing the problem, if it is that.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [24 October 2021 06:39 UTC](https://discourse.nodered.org/t/node-red-2-1-1-pizero-install-fail/52662/3 "2021-10-24T06:39:45Z")

</div>

No noticeable difference in log  
(sorry for delay - edited the wrong instance the 1st time!)

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [24 October 2021 08:00 UTC](https://discourse.nodered.org/t/node-red-2-1-1-pizero-install-fail/52662/4 "2021-10-24T08:00:57Z")

</div>

> [@cymplecy](#):
>
> No noticeable difference in log

Simon,  
I had something similar last night. If you add a `console.log(err.stack)` at [this](https://github.com/node-red/node-red/blob/master/packages/node_modules/%40node-red/registry/lib/loader.js#L386) location in your loader.js file, you 'might' get more info about it.

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [24 October 2021 08:16 UTC](https://discourse.nodered.org/t/node-red-2-1-1-pizero-install-fail/52662/5 "2021-10-24T08:16:46Z")

</div>

No difference in start up output - I don't think this is a big issue - doesn't happen on my Pi4 beta version that I upgraded to 2.1.1/node16 - was just leaving it here for the devs in case interested

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [24 October 2021 08:21 UTC](https://discourse.nodered.org/t/node-red-2-1-1-pizero-install-fail/52662/6 "2021-10-24T08:21:16Z")

</div>

yes - interested - but not seen it locally - so unless we can get a handle on it we'll just have to keep an eye out.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [24 October 2021 08:43 UTC](https://discourse.nodered.org/t/node-red-2-1-1-pizero-install-fail/52662/7 "2021-10-24T08:43:06Z")

</div>

There is a very finite list of JSON files the runtime loads. Although as far as I know, they all have better error logging than that.

The fact it comes after the Loading Palette Nodes message does suggest it's coming from a node module.

Can you list out what extra nodes you have installed?

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [24 October 2021 10:49 UTC](https://discourse.nodered.org/t/node-red-2-1-1-pizero-install-fail/52662/8 "2021-10-24T10:49:00Z")

</div>

This was vanilla with no flow/extra nodes.

To check, I've just used @TotallyInformation alternate installer into another folder and that doesn't show the error so I think it's just a little glitch in the matrix

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [24 October 2021 10:54 UTC](https://discourse.nodered.org/t/node-red-2-1-1-pizero-install-fail/52662/9 "2021-10-24T10:54:21Z")

</div>

Just gone into the editor and the Pi nodes are missing  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/0/a0ca8b91c8c53c53afb16aea2da7a804ae7890b4.png)

Just going to re-do and see if it all clears 2nd time around  
[edit]Just watching the paint drying 🙂  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/3/b3f5956568cd87fda5fd120266fc835edbc37076.jpeg)

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [24 October 2021 11:09 UTC](https://discourse.nodered.org/t/node-red-2-1-1-pizero-install-fail/52662/10 "2021-10-24T11:09:52Z")

</div>

mm - no change still the error - still no pi nodes (this was re-running install script - not a complete re-install)

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [24 October 2021 11:29 UTC](https://discourse.nodered.org/t/node-red-2-1-1-pizero-install-fail/52662/11 "2021-10-24T11:29:06Z")

</div>

This doesn't look right does it?

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/1/8184272673d409cb45d90fecced3afe8b7f5316b.png)

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [24 October 2021 11:33 UTC](https://discourse.nodered.org/t/node-red-2-1-1-pizero-install-fail/52662/12 "2021-10-24T11:33:41Z")

</div>

Shall I just nuke it from orbit (re-image the card) and see if it happens again?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [24 October 2021 12:00 UTC](https://discourse.nodered.org/t/node-red-2-1-1-pizero-install-fail/52662/13 "2021-10-24T12:00:49Z")

</div>

would be a possibly useful test as if it does then maybe we can recreate also...  
... and which version of RaspiOS are you starting with ?

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [24 October 2021 12:02 UTC](https://discourse.nodered.org/t/node-red-2-1-1-pizero-install-fail/52662/14 "2021-10-24T12:02:58Z")

</div>

32 bit - desktop with everything

Starting now - I'll get back later 🙂

---

<div class="post-metadata">

**Author:** ![cymplecy](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cymplecy/32/2773_2.png) [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Post date:** [24 October 2021 13:48 UTC](https://discourse.nodered.org/t/node-red-2-1-1-pizero-install-fail/52662/15 "2021-10-24T13:48:24Z")

</div>

All fine on re-install - pi nodes are installed - must have been a stray cosmic ray on the 1st attempt!

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/1/215983801c29c28f1b7caf5340935b723579c409.png)

Feel free to delete all the posts to declutter the thread 🙂

---

<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:** [23 December 2021 14:49 UTC](https://discourse.nodered.org/t/node-red-2-1-1-pizero-install-fail/52662/16 "2021-12-23T14:49:03Z")

</div>

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