![]() ![]() ![]() You should not rely on the version of Node.JS that comes with the default distribution libraries as this is typically long out of date. Simply follow the instructions on the Node.JS website for your distribution or operating system to get the latest “LTS” (Long Term Support) version of Node.JS that is supported by Node-RED (v6 or v8 at the time of writing). Unless you can use the official installation and upgrade script, you must ensure that all dependencies are installed. You may, however, need to check your userDir folder (normally ~/.node-red) to make sure that the access control privileges for all folder are correct. If you make a mistake and install a node with admin rights, uninstall it and reinstall without. The exception is where you need to use a port less than 1024 as these normally require admin to run them (Node-RED defaults to port 1880). When you run Node-RED, it should always be run without admin privalages. Summary □︎įor standard installations, do install Node-RED itself globally with admin rights ( sudo, except on Windows where you use standard user rights unless really needing to install for all users) but do not install nodes globally. It is easy to get confused about the correct permissions but the rules are really quite simple.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |