• 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

getting started with node red

Q&A Forum › Category: Questions › getting started with node red
0 Vote Up Vote Down
Fadhli Azinnuddin asked 2 years ago

I want to question about Establish an SSH connection with your Raspberry Pi and run the following command to edit the settings.js file. nano ~/.node-red/settings.js
and then after i am follow your ebook, you can see my program at the below according your ebook, and then after i will save with press CTRL+X , then Y and Enter to save the changes. i have problem [ Error writing /home/pi/.node-red/settings.js: Permission denied ]….
can you help me ? on the module 2 getting started with node-red

/** To password protect the node-defined HTTP endpoints (httpNodeRoot),
* including node-red-dashboard, or the static content (httpStatic), the
* following properties can be used.
* The `pass` field is a bcrypt hash of the password.
* See http://nodered.org/docs/security.html#generating-the-password-hash
*/
httpNodeAuth:{user:”fadhli”,pass:”$2b$08$M6SqsIsqm7augqGUu90QG.t7sZ.Oh9PLW/HmjB.dxJ7TpH95yZ79O”},
//httpNodeAuth: {user:”user”,pass:”$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN.”},
//httpStaticAuth: {user:”user”,pass:”$2a$08$zZWtXTja0fB1pzD4sHCMyOCMYz2Z6dNbM6tl8sJogENOMcxWV9DN.”},
 

6 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi.
It seems you’re facing some issues with permissions…
Have you been following the eBook from the start with all recommendations for the operating system?
 
At what page of the eBook exactly are you facing that issue?
 
Regards,
Sara
 

0 Vote Up Vote Down
Fadhli Azinnuddin answered 2 years ago

yess i am follow your book from module 1 step by step..
 
i am facing the issue at the module 2 page 81 & 82

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

Hi.
Can you show me a printscreen of the command and subsequent response in your Terminal window?
To share a picture, you can share a link to google drive, drpbox or imgur for example.
Regard,s
Sara

0 Vote Up Vote Down
Fadhli Azinnuddin answered 2 years ago

https://drive.google.com/file/d/17UxS0MIRdCpXEyVcr-fgdWTEDeYc8dYQ/view?usp=drivesdk

0 Vote Up Vote Down
Fadhli Azinnuddin answered 2 years ago

Oke miss sara you can access on link https://drive.google.com/file/d/17UxS0MIRdCpXEyVcr-fgdWTEDeYc8dYQ/view?usp=drivesdk

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

Hi.
Try running the command with sudo:
sudo nano ~/.node-red/settings.js
 
Does it work?
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.