Node-RED study notes-install custom nodes

1. Initial program position

(1) The location of the developed custom node:

(2) The location where nodered is installed (default location)

After installation, I think the icons are shortcuts, but they are actually folders. The folder names are the module names defined in the program:


2. Installation

For example, NewAppConfig has been installed, and the installed module name is:

(1) Step one

Obtain the folder address of the module to be installed: C:\Users\User\Desktop\20201207\BaseImageAdapt

(2) Step two

cd to the address where nodered is installed (default location): C:\Users\User\.node-red 

carried out:

npm install 节点文件路径

as follows:

 

Guess you like

Origin blog.csdn.net/qq_14997473/article/details/110823456