Я пытаюсь запустить node-red на Moxa UC8112, который не имеет графики и работает через командную строку SSH.
Я пытался зарегистрировать и исправить node_modules с помощью "npm install request" и "npm Audit Fix Fix", но все еще получаю сообщение об ошибке "Ожидание регистрации пропущенных типов:".
Моя командная строка выглядит следующим образом:
moxa@Moxa:~/.node-red$
moxa@Moxa:~/.node-red$ npm install request
+ request@2.88.0
updated 1 package and audited 387 packages in 85.818s
found 0 vulnerabilities
moxa@Moxa:~/.node-red$ npm audit fix
up to date in 48.031s
fixed 0 of 0 vulnerabilities in 387 scanned packages
moxa@Moxa:~/.node-red$ node-red
31 Jan 11:47:40 - [info]
Welcome to Node-RED
===================
31 Jan 11:47:40 - [info] Node-RED version: v0.19.5
31 Jan 11:47:40 - [info] Node.js version: v6.14.0
31 Jan 11:47:40 - [info] Linux 4.1.0-ltsi-rt-uc8100-me+ arm LE
31 Jan 11:47:45 - [info] Loading palette nodes
31 Jan 11:47:50 - [warn] rpi-gpio : Raspberry Pi specific node set inactive
31 Jan 11:47:50 - [warn] rpi-gpio : Cannot find Pi RPi.GPIO python library
31 Jan 11:48:02 - [info] Settings file : /home/moxa/.node-red/settings.js
31 Jan 11:48:02 - [info] Context store : 'default' [module=memory]
31 Jan 11:48:02 - [info] User directory : /home/moxa/.node-red
31 Jan 11:48:02 - [warn] Projects disabled :
editorTheme.projects.enabled=false
31 Jan 11:48:02 - [info] Flows file : /home/moxa/.node- red/flows_Moxa.json
31 Jan 11:48:02 - [info] Server now running at http://127.0.0.1:1880/
31 Jan 11:48:02 - [warn]
---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.
If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.
You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------
31 Jan 11:48:02 - [info] Waiting for missing types to be registered:
31 Jan 11:48:02 - [info] - twilioConfig
31 Jan 11:48:02 - [info] - modbustcp-server
31 Jan 11:48:02 - [info] - twilio-api
31 Jan 11:48:02 - [info] - modbus-client
31 Jan 11:48:02 - [info] - amazon config
31 Jan 11:48:02 - [info] - sms
31 Jan 11:48:02 - [info] - modbus-getter
Я ожидаю, что это может быть проблема, возможно, с тем, как я установил node_modules?Несмотря на то, что я установил npm install в каталог .node-red.