Node-RED: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
After that you can add the package by using the npm command shown below. Be careful to specify the path that points to the main folder of the package to be | After that you can add the package by using the npm command shown below. Be careful to specify the path that points to the main folder of the package to be | ||
installed (it contains a file named '''package.JSON'''). | installed (it contains a file named '''package.JSON'''). | ||
<pre style="color: red"> | <pre style="color: red"> | ||
cd /home/USER_NAME/.node-red | |||
sudo npm install PATH_TO_FOLDER_WITH_FILE | |||
</pre> | </pre> | ||
[[Category:LogicLab]] | [[Category:LogicLab]] |
Revision as of 12:00, 18 June 2018
Node-RED LogicLab Documentation
Requirements
In order to make this package work, you have to install the JavaScript runtime Node.js, the package manager npm and Node-RED. The package manager is usually provided along with the Node.js installer, however you should make sure that both the versions you got are still supported by Node-RED.
Further information can be retrieved from the following hyperlinks:
Install the package
Open up a terminal and change the directory path to the folder where Node-RED has been installed. After that you can add the package by using the npm command shown below. Be careful to specify the path that points to the main folder of the package to be installed (it contains a file named package.JSON).
cd /home/USER_NAME/.node-red sudo npm install PATH_TO_FOLDER_WITH_FILE