# Unhandled rejection Error: EACCES: permission denied,

**URL:** <https://discourse.nodered.org/t/unhandled-rejection-error-eacces-permission-denied/9559>\
**Category:** General\
**Created:** [29 March 2019 00:38 UTC](https://discourse.nodered.org/t/unhandled-rejection-error-eacces-permission-denied/9559 "2019-03-29T00:38:48Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![tramanah](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tramanah/32/9122_2.png) [@tramanah](https://discourse.nodered.org/u/tramanah)\
**Post date:** [31 March 2019 13:15 UTC](https://discourse.nodered.org/t/unhandled-rejection-error-eacces-permission-denied/9559/11 "2019-03-31T13:15:51Z")

</div>

i did the following steps and manage to deploy successfully.

```auto
sudo apt-get purge nodejs

```

than

```auto
bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)

```

```auto
  Stop Node-RED ✔
  Remove old version of Node-RED ✔
  Remove old version of Node.js ✔
  Update Node.js LTS ✔ Node v10.15.3 Npm 6.4.1
  Clean npm cache ✔
  Install Node-RED core ✔ 0.20.3 
  Move global nodes to local -
  Install extra Pi nodes ✔
  Npm rebuild existing nodes -
  Add shortcut commands ✔
  Update systemd script ✔
                                           

Any errors will be logged to /var/log/nodered-install.log

All done.
  You can now start Node-RED with the command node-red-start
  or using the icon under Menu / Programming / Node-RED
  Then point your browser to localhost:1880 or http://{your_pi_ip-address}:1880

Started Sun Mar 31 20:54:37 +08 2019 - Finished Sun Mar 31 20:55:22 +08 2019

```

thank you for your continues support. do really appreciate.

---

_[View the full topic](https://discourse.nodered.org/t/unhandled-rejection-error-eacces-permission-denied/9559)._
