# Cannot install rpi-gpio after update

**URL:** <https://discourse.nodered.org/t/cannot-install-rpi-gpio-after-update/50807>\
**Category:** General\
**Created:** [9 September 2021 10:15 UTC](https://discourse.nodered.org/t/cannot-install-rpi-gpio-after-update/50807 "2021-09-09T10:15:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RogierQ](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rogierq/32/3211_2.png) [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Post date:** [9 September 2021 10:15 UTC](https://discourse.nodered.org/t/cannot-install-rpi-gpio-after-update/50807/1 "2021-09-09T10:15:44Z")

</div>

After updating an node red raspberry v0.21 to latest with the script i keep getting error for the node-red-node-pi-gpio.  
tried update, uninstall, reboot, reinstall again but no succes on installing. the error the log gives me ios below

```auto
pi@dea-lab:~/.node-red $ npm install node-red-node-pi-gpio
npm ERR! Unexpected token # in JSON at position 0 while parsing near '# lxpanel <profile> ...'

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2021-09-09T10_13_26_913Z-debug.log

```

---

<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:** [9 September 2021 10:48 UTC](https://discourse.nodered.org/t/cannot-install-rpi-gpio-after-update/50807/2 "2021-09-09T10:48:58Z")

</div>

How does this relate to your [thread where you say you are unable to upgrade](https://discourse.nodered.org/t/update-problem-with-script/50806)?

---

<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:** [8 November 2021 10:49 UTC](https://discourse.nodered.org/t/cannot-install-rpi-gpio-after-update/50807/3 "2021-11-08T10:49:57Z")

</div>

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