『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 1140|回复: 4

[流程系列] NodeRed无法安装节点

[复制链接]

4

主题

56

帖子

491

积分

中级会员

Rank: 3Rank: 3

积分
491
金钱
435
HASS币
0
发表于 2022-12-5 23:45:29 | 显示全部楼层 |阅读模式
树莓派docker安装的ha,通过商店安装的Nodered,想增加节点,报很多错。试过重装、升级nodejs,npm等方法都不行,小白已经不知从何下手了,跪求大神指点!
-----------------------------------------------------------
2022-12-05T12:53:36.606Z 安装 : node-red-contrib-serialport-rs485 0.0.6

2022-12-05T12:54:12.836Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict [email protected]
2022-12-05T13:00:41.133Z [err] npm WARN config production Use `--omit=dev` instead.
2022-12-05T13:01:01.465Z [err] npm
2022-12-05T13:01:01.467Z [err]  WARN deprecated [email protected]: This version is no longer supported, to receive security updates and bug fixes upgrade to the latest version.
2022-12-05T13:01:19.584Z [err] npm
2022-12-05T13:01:19.589Z [err]  ERR! code 1
2022-12-05T13:01:19.589Z [err] npm ERR! path /config/node-red/node_modules/serialport
2022-12-05T13:01:19.610Z [err] npm ERR!
2022-12-05T13:01:19.611Z [err]  command failed
2022-12-05T13:01:19.611Z [err] npm 
2022-12-05T13:01:19.613Z [err] ERR! command sh -c node-pre-gyp install --fallback-to-build
2022-12-05T13:01:19.622Z [err] npm ERR! Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/config/node-red/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/config/node-red/node_modules/serialport/build/Release --python=/usr/bin/python3' (1)
2022-12-05T13:01:19.625Z [err] npm ERR! node-pre-gyp info it worked if it ends with ok
2022-12-05T13:01:19.625Z [err] npm ERR! node-pre-gyp info using [email protected]
2022-12-05T13:01:19.625Z [err] npm ERR! node-pre-gyp info using [email protected] | linux | arm64
2022-12-05T13:01:19.625Z [err] npm ERR! node-pre-gyp info check checked for "/config/node-red/node_modules/serialport/build/Release/serialport.node" (not found)
2022-12-05T13:01:19.625Z [err] npm ERR! node-pre-gyp http GET https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v93-linux-arm64.tar.gz
2022-12-05T13:01:19.625Z [err] npm ERR! node-pre-gyp http 404 https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v93-linux-arm64.tar.gz
2022-12-05T13:01:19.625Z [err] npm ERR! node-pre-gyp ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v93-linux-arm64.tar.gz 
2022-12-05T13:01:19.625Z [err] npm ERR! node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v93 ABI) (falling back to source compile with node-gyp) 
2022-12-05T13:01:19.625Z [err] npm ERR! node-pre-gyp http 404 status code downloading tarball https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v93-linux-arm64.tar.gz 
2022-12-05T13:01:19.625Z [err] npm ERR! node-pre-gyp ERR! Tried to download(undefined): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v93-linux-arm64.tar.gz 
2022-12-05T13:01:19.625Z [err] npm ERR! node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v93 ABI) (falling back to source compile with node-gyp) 
2022-12-05T13:01:19.625Z [err] npm ERR! node-pre-gyp http Connection closed while downloading tarball file 
2022-12-05T13:01:19.625Z [err] npm ERR! gypgyp  infoinfo  it worked if it ends withit worked if it ends with ok
2022-12-05T13:01:19.625Z [err] npm ERR!  ok
2022-12-05T13:01:19.625Z [err] npm ERR! gypgyp  infoinfo  usingusing [email protected]
2022-12-05T13:01:19.625Z [err] npm ERR!  [email protected]
2022-12-05T13:01:19.625Z [err] npm ERR! gypgyp  infoinfo  usingusing [email protected] | linux | arm64
2022-12-05T13:01:19.625Z [err] npm ERR!  [email protected] | linux | arm64
2022-12-05T13:01:19.625Z [err] npm ERR! gyp info ok 
2022-12-05T13:01:19.625Z [err] npm ERR! gyp info ok 
2022-12-05T13:01:19.625Z [err] npm ERR! gyp info it worked if it ends with ok
2022-12-05T13:01:19.625Z [err] npm ERR!
2022-12-05T13:01:19.629Z [err]  gyp info it worked if it ends with ok
2022-12-05T13:01:19.629Z [err] npm ERR! gyp info using [email protected]
2022-12-05T13:01:19.629Z [err] npm ERR! gyp info using [email protected] | linux | arm64
2022-12-05T13:01:19.629Z [err] npm ERR! gyp info using [email protected]
2022-12-05T13:01:19.629Z [err] npm ERR! gyp info using [email protected] | linux | arm64
2022-12-05T13:01:19.629Z [err] npm ERR! gypgyp ERR! find Python 
2022-12-05T13:01:19.629Z [err] npm ERR! gyp  ERR! ERR!find Python  checking Python explicitly set from command line or npm configuration
2022-12-05T13:01:19.629Z [err] npm ERR! gypfind Python ERR! find Python 
2022-12-05T13:01:19.629Z [err] npm ERR!  - "--python=" or "npm config get python" is "/usr/bin/python3"
2022-12-05T13:01:19.629Z [err] npm ERR! gyp ERR! find Python - "/usr/bin/python3" is not in PATH or produced an error
2022-12-05T13:01:19.629Z [err] npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
2022-12-05T13:01:19.629Z [err] npm ERR!
2022-12-05T13:01:19.666Z [err]  gyp ERR! find Python checking if "python3" can be used
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! find Python checking Python explicitly set from command line or npm configuration
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! find Python - "--python=" or "npm config get python" is "/usr/bin/python3"
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! find Python - "/usr/bin/python3" is not in PATH or produced an error
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR!gyp  find PythonERR! Python is not set from environment variable PYTHON
2022-12-05T13:01:19.666Z [err] npm ERR! gyp  find PythonERR! - "python3" is not in PATH or produced an error
2022-12-05T13:01:19.666Z [err] npm ERR!  gyp find PythonERR!  checking if "python3" can be used
2022-12-05T13:01:19.666Z [err] npm ERR! find Python checking if "python" can be used
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! find Python - "python" is not in PATH or produced an error
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! find Python 
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! find Python **********************************************************
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! find Python You need to install the latest version of Python.
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! gypfind Python Node-gyp should be able to find and use Python. If not,
2022-12-05T13:01:19.666Z [err] npm ERR!  gyp ERR!ERR!  find Pythonfind Python you can try one of the following options:
2022-12-05T13:01:19.666Z [err] npm ERR!  - "python3" is not in PATH or produced an error
2022-12-05T13:01:19.666Z [err] npm ERR! gypgyp  ERR!ERR!  find Pythonfind Python checking if "python" can be used
2022-12-05T13:01:19.666Z [err] npm ERR!  - Use the switch --python="/path/to/pythonexecutable"
2022-12-05T13:01:19.666Z [err] npm ERR! gypgyp  ERR!ERR!  find Pythonfind Python - "python" is not in PATH or produced an error
2022-12-05T13:01:19.666Z [err] npm ERR!    (accepted by both node-gyp and npm)
2022-12-05T13:01:19.666Z [err] npm ERR! gypgyp  ERR!ERR!  find Pythonfind Python 
2022-12-05T13:01:19.666Z [err] npm ERR!  - Set the environment variable PYTHON
2022-12-05T13:01:19.666Z [err] npm ERR! gypgyp  ERR!ERR!  find Pythonfind Python **********************************************************
2022-12-05T13:01:19.666Z [err] npm ERR!  - Set the npm configuration variable python:
2022-12-05T13:01:19.666Z [err] npm ERR! gypgyp  ERR!ERR!  find Pythonfind Python You need to install the latest version of Python.
2022-12-05T13:01:19.666Z [err] npm ERR!    npm config set python "/path/to/pythonexecutable"
2022-12-05T13:01:19.666Z [err] npm ERR! gypgyp  ERR!ERR!  find Pythonfind Python Node-gyp should be able to find and use Python. If not,
2022-12-05T13:01:19.666Z [err] npm ERR!  For more information consult the documentation at:
2022-12-05T13:01:19.666Z [err] npm ERR! gypgyp  ERR!ERR!  find Pythonfind Python you can try one of the following options:
2022-12-05T13:01:19.666Z [err] npm ERR!  https://github.com/nodejs/node-gyp#installation
2022-12-05T13:01:19.666Z [err] npm ERR! gypgyp  ERR!ERR!  find Pythonfind Python **********************************************************
2022-12-05T13:01:19.666Z [err] npm ERR!  - Use the switch --python="/path/to/pythonexecutable"
2022-12-05T13:01:19.666Z [err] npm ERR! gypgyp  ERR!ERR! find Python  
2022-12-05T13:01:19.666Z [err] npm ERR! find Python   (accepted by both node-gyp and npm)
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! find Python - Set the environment variable PYTHON
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! find Python - Set the npm configuration variable python:
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! find Python   npm config set python "/path/to/pythonexecutable"
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! find Python For more information consult the documentation at:
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! find Python **********************************************************
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! find Python 
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! configure error 
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! configure error 
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! stack Error: Could not find any Python installation to use
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! stack     at PythonFinder.fail (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:330:47)
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! stack     at PythonFinder.runChecks (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:159:21)
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! stack     at PythonFinder.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:202:16)
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! stack     at PythonFinder.execFileCallback (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:294:16)
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! stack     at exithandler (node:child_process:408:5)
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR!gyp  stackERR!     at ChildProcess.errorhandler (node:child_process:420:5)
2022-12-05T13:01:19.666Z [err] npm ERR! gyp  stackERR! Error: Could not find any Python installation to use
2022-12-05T13:01:19.666Z [err] npm ERR!  gypstack      at ChildProcess.emit (node:events:513:28)
2022-12-05T13:01:19.666Z [err] npm ERR! ERR!gyp  stackERR!     at PythonFinder.fail (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:330:47)
2022-12-05T13:01:19.666Z [err] npm ERR!  gypstack      at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
2022-12-05T13:01:19.666Z [err] npm ERR! ERR!gyp  stackERR!     at PythonFinder.runChecks (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:159:21)
2022-12-05T13:01:19.666Z [err] npm ERR!  gypstack      at onErrorNT (node:internal/child_process:478:16)
2022-12-05T13:01:19.666Z [err] npm ERR! ERR!gyp  stackERR!     at PythonFinder.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:202:16)
2022-12-05T13:01:19.666Z [err] npm ERR!  gypstack      at processTicksAndRejections (node:internal/process/task_queues:83:21)
2022-12-05T13:01:19.666Z [err] npm ERR! ERR! stack     at PythonFinder.execFileCallback (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:294:16)
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! stack     at exithandler (node:child_process:408:5)
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! stack     at ChildProcess.errorhandler (node:child_process:420:5)
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
2022-12-05T13:01:19.666Z [err] npm ERR! gyp ERR! gypstack      at onErrorNT (node:internal/child_process:478:16)
2022-12-05T13:01:19.666Z [err] npm ERR! ERR!gyp  ERR!System  Linux 5.15.76-v8+
2022-12-05T13:01:19.666Z [err] npm ERR! stack     at processTicksAndRejections (node:internal/process/task_queues:83:21)
2022-12-05T13:01:19.666Z [err] npm
2022-12-05T13:01:19.677Z [err]  ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/config/node-red/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/config/node-red/node_modules/serialport/build/Release" "--python=/usr/bin/python3"
2022-12-05T13:01:19.677Z [err] npm ERR! gyp ERR! cwd /config/node-red/node_modules/serialport
2022-12-05T13:01:19.677Z [err] npm ERR! gyp ERR! node -v v16.17.1
2022-12-05T13:01:19.677Z [err] npm ERR! gypgyp  ERR!ERR!  node-gyp -vSystem v9.0.0
2022-12-05T13:01:19.677Z [err] npm ERR!  Linux 5.15.76-v8+
2022-12-05T13:01:19.677Z [err] npm ERR! gyp ERR! not ok 
2022-12-05T13:01:19.677Z [err] npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/config/node-red/node_modules/serialport/build/Release/serialport.node" "--module_name=serialport" "--module_path=/config/node-red/node_modules/serialport/build/Release" "--python=/usr/bin/python3"
2022-12-05T13:01:19.677Z [err] npm ERR! gyp ERR! cwd /config/node-red/node_modules/serialport
2022-12-05T13:01:19.677Z [err] npm ERR! gyp ERR! node -v v16.17.1
2022-12-05T13:01:19.677Z [err] npm ERR! gyp ERR! node-gyp -v v9.0.0
2022-12-05T13:01:19.677Z [err] npm ERR! gyp ERR! not ok 
2022-12-05T13:01:19.677Z [err] npm ERR! node-pre-gyp ERR! build error 
2022-12-05T13:01:19.677Z [err] npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/config/node-red/node_modules/serialport/build/Release/serialport.node --module_name=serialport --module_path=/config/node-red/node_modules/serialport/build/Release --python=/usr/bin/python3' (1)
2022-12-05T13:01:19.677Z [err] npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/config/node-red/node_modules/serialport/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
2022-12-05T13:01:19.677Z [err] npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
2022-12-05T13:01:19.677Z [err] npm ERR! node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1093:16)
2022-12-05T13:01:19.677Z [err] npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
2022-12-05T13:01:19.677Z [err] npm ERR! node-pre-gyp ERR! System Linux 5.15.76-v8+
2022-12-05T13:01:19.677Z [err] npm ERR! node-pre-gyp ERR! command "/usr/bin/node" "/config/node-red/node_modules/serialport/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
2022-12-05T13:01:19.677Z [err] npm ERR! node-pre-gyp ERR! cwd /config/node-red/node_modules/serialport
2022-12-05T13:01:19.677Z [err] npm ERR! node-pre-gyp ERR! node -v v16.17.1
2022-12-05T13:01:19.677Z [err] npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.6.32
2022-12-05T13:01:19.677Z [err] npm ERR! node-pre-gyp ERR! not ok
2022-12-05T13:01:19.708Z [err] 
2022-12-05T13:01:19.710Z [err] npm ERR!
2022-12-05T13:01:19.711Z [err]  A complete log of this run can be found in:
2022-12-05T13:01:19.711Z [err] npm ERR!     /root/.npm/_logs/2022-12-05T13_00_40_512Z-debug-0.log
2022-12-05T13:01:19.785Z rc=1
1.png 2.png
回复

使用道具 举报

0

主题

22

帖子

531

积分

高级会员

Rank: 4

积分
531
金钱
509
HASS币
0
发表于 2022-12-6 22:08:39 | 显示全部楼层
WARN deprecated [email protected]: This version is no longer supported, to receive security updates and bug fixes upgrade to the latest version.

版本不兼容了,换方案吧
回复

使用道具 举报

8

主题

195

帖子

1445

积分

金牌会员

Rank: 6Rank: 6

积分
1445
金钱
1250
HASS币
0
发表于 2023-6-19 22:55:03 | 显示全部楼层
解决了吗?是版本问题吗?
海鲜市场:jasona3
回复

使用道具 举报

8

主题

195

帖子

1445

积分

金牌会员

Rank: 6Rank: 6

积分
1445
金钱
1250
HASS币
0
发表于 2023-6-20 11:33:56 | 显示全部楼层
2023-06-20T03:01:04.198Z [err]  ERR! npm ERR! gyp info using [email protected]
2023-06-20T03:01:04.198Z [err] npm ERR! npm ERR! gyp info using [email protected] | linux | x64
2023-06-20T03:01:04.198Z [err] npm
2023-06-20T03:01:04.198Z [err]  ERR! npm ERR! gyp ERR! configure error
2023-06-20T03:01:04.198Z [err] npm ERR! npm ERR! gyp ERR! stack Error: Command failed: /usr/bin/python -c import sys; print "%s.%s.%s" % sys.version_info[:3];
2023-06-20T03:01:04.198Z [err] npm
2023-06-20T03:01:04.198Z [err] ERR! npm ERR! gyp ERR! stack   File "<string>", line 1
2023-06-20T03:01:04.198Z [err] npm ERR! npm ERR! gyp ERR! stack     import sys; print "%s.%s.%s" % sys.version_info[:3];
2023-06-20T03:01:04.198Z [err] npm
2023-06-20T03:01:04.198Z [err] ERR! npm ERR! gyp ERR! stack                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2023-06-20T03:01:04.198Z [err] npm ERR! npm ERR! gyp ERR! stack SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
2023-06-20T03:01:04.198Z [err] npm ERR! npm ERR! gyp ERR! stack
2023-06-20T03:01:04.198Z [err] npm ERR! npm ERR! gyp ERR! stack     at ChildProcess.exithandler (node:child_process:402:12)
2023-06-20T03:01:04.198Z [err] npm ERR! npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
2023-06-20T03:01:04.198Z [err] npm ERR! npm ERR! gyp ERR! stack     at maybeClose (node:internal/child_process:1100:16)
2023-06-20T03:01:04.198Z [err] npm ERR! npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
2023-06-20T03:01:04.198Z [err] npm ERR! npm ERR! gyp ERR! System Linux 4.4.180+
2023-06-20T03:01:04.198Z [err] npm ERR! npm ERR! gyp ERR! command "/usr/local/bin/node" "/data/.npm/_cacache/tmp/git-clonekJHcJo/node_modules/.bin/node-gyp" "rebuild" "--release"
2023-06-20T03:01:04.198Z [err] npm ERR! npm ERR! gyp ERR! cwd /data/.npm/_cacache/tmp/git-clonekJHcJo/node_modules/fibers
2023-06-20T03:01:04.198Z [err] npm ERR! npm ERR! gyp ERR! node -v v16.20.0
2023-06-20T03:01:04.198Z [err] npm ERR! npm ERR! gyp ERR! no

谁能帮看下是啥原因?群辉docke中装的node-red
海鲜市场:jasona3
回复

使用道具 举报

3

主题

58

帖子

269

积分

中级会员

Rank: 3Rank: 3

积分
269
金钱
211
HASS币
0
发表于 2023-8-10 15:31:00 | 显示全部楼层
2023-08-10T07:06:07.408Z 安装 : node-red-contrib-bizwechat-apiproxy 1.2.1

2023-08-10T15:06:06.668Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict [email protected]
2023-08-10T15:06:07.119Z [err] npm
2023-08-10T15:06:07.120Z [err]  WARN
2023-08-10T15:06:07.120Z [err]  config production Use `--omit=dev` instead.
2023-08-10T15:13:48.852Z [err] npm
2023-08-10T15:13:48.852Z [err]  
2023-08-10T15:13:48.852Z [err] ERR!
2023-08-10T15:13:48.852Z [err]  
2023-08-10T15:13:48.853Z [err] code
2023-08-10T15:13:48.853Z [err]  ETIMEDOUT
2023-08-10T15:13:48.853Z [err] npm
2023-08-10T15:13:48.853Z [err]  
2023-08-10T15:13:48.853Z [err] ERR!
2023-08-10T15:13:48.853Z [err]  
2023-08-10T15:13:48.854Z [err] syscall
2023-08-10T15:13:48.854Z [err]  connect
2023-08-10T15:13:48.854Z [err] npm
2023-08-10T15:13:48.854Z [err]  
2023-08-10T15:13:48.854Z [err] ERR!
2023-08-10T15:13:48.854Z [err]  
2023-08-10T15:13:48.854Z [err] errno
2023-08-10T15:13:48.854Z [err]  ETIMEDOUT
2023-08-10T15:13:48.857Z [err] npm
2023-08-10T15:13:48.857Z [err]  
2023-08-10T15:13:48.857Z [err] ERR!
2023-08-10T15:13:48.857Z [err]  
2023-08-10T15:13:48.857Z [err] network
2023-08-10T15:13:48.857Z [err]  request to https://registry.npmjs.org/node-red-contrib-bizwechat-apiproxy failed, reason: connect ETIMEDOUT 2606:4700::6810:323:443
2023-08-10T15:13:48.857Z [err] npm
2023-08-10T15:13:48.857Z [err]  
2023-08-10T15:13:48.857Z [err] ERR!
2023-08-10T15:13:48.857Z [err]  
2023-08-10T15:13:48.857Z [err] network
2023-08-10T15:13:48.857Z [err]  This is a problem related to network connectivity.
2023-08-10T15:13:48.858Z [err] npm
2023-08-10T15:13:48.858Z [err]  
2023-08-10T15:13:48.858Z [err] ERR!
2023-08-10T15:13:48.858Z [err]  
2023-08-10T15:13:48.858Z [err] network
2023-08-10T15:13:48.858Z [err]  In most cases you are behind a proxy or have bad network settings.
2023-08-10T15:13:48.858Z [err] npm
2023-08-10T15:13:48.858Z [err]  
2023-08-10T15:13:48.858Z [err] ERR!
2023-08-10T15:13:48.858Z [err]  
2023-08-10T15:13:48.858Z [err] network
2023-08-10T15:13:48.858Z [err]  
2023-08-10T15:13:48.858Z [err] npm
2023-08-10T15:13:48.858Z [err]  
2023-08-10T15:13:48.859Z [err] ERR!
2023-08-10T15:13:48.859Z [err]  
2023-08-10T15:13:48.859Z [err] network
2023-08-10T15:13:48.859Z [err]  If you are behind a proxy, please make sure that the
2023-08-10T15:13:48.859Z [err] npm
2023-08-10T15:13:48.859Z [err]  
2023-08-10T15:13:48.859Z [err] ERR!
2023-08-10T15:13:48.859Z [err]  
2023-08-10T15:13:48.859Z [err] network
2023-08-10T15:13:48.859Z [err]  'proxy' config is set properly.  See: 'npm help config'
2023-08-10T15:13:48.861Z [err]
2023-08-10T15:13:48.861Z [err] npm
2023-08-10T15:13:48.861Z [err]  
2023-08-10T15:13:48.861Z [err] ERR!
2023-08-10T15:13:48.862Z [err]  A complete log of this run can be found in: /root/.npm/_logs/2023-08-10T15_06_07_081Z-debug-0.log
2023-08-10T15:13:48.869Z rc=1
虚拟机装的,没网,其他的都正常
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-27 22:32 , Processed in 0.054088 second(s), 29 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表