• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Installing Node-red in my raspberry

Q&A Forum › Category: Home Automation › Installing Node-red in my raspberry
0 Vote Up Vote Down
Teeluck Darminder asked 4 years ago

Hello, after typing the commands pi@raspberry:~$ sudo systemctl enable nodered.service 
it replied as such:- Failed to enable unit: this file nodered.service does not exist

4 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 4 years ago

Hello Teeluck,
Can you run this command again?

bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

It looks like your Node-RED installation might have failed. Let me know if this command works for you, then run this command again:

sudo systemctl enable nodered.service
0 Vote Up Vote Down
Roland answered 3 years ago

Hi Rui,
yesterday I have installed the node-red system according your ebook “House Automation System”. After failing the URL I found  the above mentioned command referencing ../linux-installers. All went fine and I could reproduce the first example. Then I found that the Raspberry Nodes are missing.
I looked for them in the node-red library. I found it and processed the command
pi@raspi-28:~ $ cd .node-red
pi@raspi-28:~/.node-red $ npm install node-red-contrib-redplc-rpi-gpio
npm notice created a lockfile as package-lock.json. You should commit this file.
+ node-red-contrib-redplc-rpi-gpio@1.0.10
added 1 package from 1 contributor and audited 1 package in 0.975s
found 0 vulnerabilities

After enabling node-red and refreshing the browsertab nothing has changed. Node-red doesn’t the rpi-gpio nodes. Can you give me a hint how to solve the problem?
Many thanks, Roland
 

<

0 Vote Up Vote Down
Roland answered 3 years ago

Hi Rui,
Problem solved. I have found the rpi-gpio Nodes and installed using manage pallete.
Cheers, Rolan

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Great!
I’ll mark this issue as resolved.
If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.