Unhandled rejection Error: EACCES: permission denied,

i did the following steps and manage to deploy successfully.

sudo apt-get purge nodejs

than

bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)
  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.

1 Like