This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to install new nodes.is there a wrong installation of node red in Openplotter
#18
(2017-10-04, 07:47 PM)Alpenskipper Wrote: Hi!

I try to install additional nodes in node-red. e.g. openweather .

It ends with a fault.

I tried:

mkdir /home/pi/freeback
sudo mv /home/pi/.node-red/node_modules/node-red-contrib-freeboard /home/pi/freeback/
sudo chown -R pi:pi /home/pi/.node-red/node_modules/.bin/
cd /home/pi/.node-red
npm install node-red-node-mysql
sudo mv /home/pi/freeback/node-red-contrib-freeboard /home/pi/.node-red/node_modules/
sudo reboot



In the terminal window it showed:

pi@openplotter:~ $ mkdir /home/pi/freeback
mkdir: das Verzeichnis „/home/pi/freeback“ kann nicht angelegt werden: Die Datei existiert bereits
pi@openplotter:~ $ sudo mv /home/pi/.node-red/node_modules/node-red-contrib-freeboard /home/pi/freeback/
pi@openplotter:~ $ sudo chown -R pi:pi /home/pi/.node-red/node_modules/.bin/
pi@openplotter:~ $ cd /home/pi/.node-red
pi@openplotter:~/.node-red $ npm install node-red-node-mysql
node-red-project@0.0.1 /home/pi/.node-red
└── node-red-node-mysql@0.0.16 

npm WARN node-red-project@0.0.1 No repository field.
npm WARN node-red-project@0.0.1 No license field.
pi@openplotter:~/.node-red $ sudo mv /home/pi/freeback/node-red-contrib-freeboard /home/pi/.node-red/node_modules/
pi@openplotter:~/.node-red $ sudo reboot



After a reboot I still can't install node from "user settings - palette - install" within node-red.

Where is my mistake?

Martin

Just tried installing mysql from the manage palette menu, worked OK.
One difference is that the owner of /home/pi/.node-red/node_modules/.bin/  is root.
drwxr-xr-x   2 root root  4096 Jul 29 10:07 .bin

I don't have freeboard installed.
Reply


Messages In This Thread
RE: How to install new nodes.is there a wrong installation of node red in Openplotter - by PaddyB - 2017-10-04, 08:03 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)