inštalácia paletky

Automatizace pomocí vývojového nástroje pro vizuální programování. Původně vyvinuto společnost IBM.
Odpovědět
agino
Nováček na fóru
Nováček na fóru
Příspěvky: 1
Registrován: 31. srpen 2022, 22:04

inštalácia paletky

Příspěvek od agino »

Ahojte, prosím o pomoc, nakoľko sa neviem pohnúť ďalej.

Neviem na HA OS do NodeRed nainštalovať paletku. Beží na RaspberryPi.
viď chybu nižšie.

Kód: Vybrat vše


-----------------------------------------------------------
2022-08-31T20:09:26.531Z Install : node-red-contrib-lgtv 1.1.0

2022-08-31T20:09:25.765Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-contrib-lgtv@1.1.0
2022-08-31T20:09:31.546Z [err] npm
2022-08-31T20:09:31.550Z [err]  WARN 
2022-08-31T20:09:31.550Z [err] config production Use `--omit=dev` instead.
2022-08-31T20:09:44.391Z [err] npm
2022-08-31T20:09:44.392Z [err]  ERR!
2022-08-31T20:09:44.393Z [err]  code 1
2022-08-31T20:09:44.394Z [err] npm ERR! 
2022-08-31T20:09:44.394Z [err] path /config/node-red/node_modules/bufferutil
2022-08-31T20:09:44.404Z [err] npm ERR!
2022-08-31T20:09:44.404Z [err]  command failed
2022-08-31T20:09:44.404Z [err] npm 
2022-08-31T20:09:44.405Z [err] ERR! command sh -c node-gyp-build
2022-08-31T20:09:44.406Z [err] npm ERR! gyp info it worked if it ends with ok
2022-08-31T20:09:44.406Z [err] npm
2022-08-31T20:09:44.406Z [err]  ERR! gyp info using node-gyp@9.0.0
2022-08-31T20:09:44.406Z [err] npm ERR! gyp info using node@16.16.0 | linux | arm64
2022-08-31T20:09:44.406Z [err] npm ERR! gyp ERR! find Python 
2022-08-31T20:09:44.407Z [err] npm ERR!
2022-08-31T20:09:44.408Z [err]  gyp ERR! find Python checking Python explicitly set from command line or npm configuration
2022-08-31T20:09:44.408Z [err] npm ERR!
2022-08-31T20:09:44.409Z [err]  gyp ERR! find Python - "--python=" or "npm config get python" is "/usr/bin/python3"
2022-08-31T20:09:44.409Z [err] npm ERR! gyp ERR! find Python - "/usr/bin/python3" is not in PATH or produced an error
2022-08-31T20:09:44.409Z [err] npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON
2022-08-31T20:09:44.409Z [err] npm ERR!
2022-08-31T20:09:44.409Z [err]  gyp ERR! find Python checking if "python3" can be used
2022-08-31T20:09:44.409Z [err] npm ERR! gyp ERR! find Python - "python3" is not in PATH or produced an error
2022-08-31T20:09:44.409Z [err] npm ERR! gyp ERR! find Python checking if "python" can be used
2022-08-31T20:09:44.409Z [err] npm
2022-08-31T20:09:44.410Z [err]  ERR! gyp ERR! find Python - "python" is not in PATH or produced an error
2022-08-31T20:09:44.410Z [err] npm ERR! gyp ERR! find Python 
2022-08-31T20:09:44.410Z [err] npm 
2022-08-31T20:09:44.410Z [err] ERR! gyp ERR! find Python **********************************************************
2022-08-31T20:09:44.410Z [err] npm ERR! gyp ERR! find Python You need to install the latest version of Python.
2022-08-31T20:09:44.410Z [err] npm 
2022-08-31T20:09:44.411Z [err] ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
2022-08-31T20:09:44.411Z [err] npm ERR! gyp ERR! find Python you can try one of the following options:
2022-08-31T20:09:44.411Z [err] npm
2022-08-31T20:09:44.411Z [err]  ERR! gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
2022-08-31T20:09:44.411Z [err] npm ERR! gyp ERR! find Python   (accepted by both node-gyp and npm)
2022-08-31T20:09:44.411Z [err] npm
2022-08-31T20:09:44.411Z [err]  ERR! gyp ERR! find Python - Set the environment variable PYTHON
2022-08-31T20:09:44.411Z [err] npm ERR! gyp ERR! find Python - Set the npm configuration variable python:
2022-08-31T20:09:44.412Z [err] npm ERR! gyp ERR! find Python   npm config set python "/path/to/pythonexecutable"
2022-08-31T20:09:44.412Z [err] npm ERR!
2022-08-31T20:09:44.412Z [err]  gyp ERR! find Python For more information consult the documentation at:
2022-08-31T20:09:44.412Z [err] npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
2022-08-31T20:09:44.412Z [err] npm ERR!
2022-08-31T20:09:44.412Z [err]  gyp ERR! find Python **********************************************************
2022-08-31T20:09:44.412Z [err] npm ERR! gyp ERR! find Python 
2022-08-31T20:09:44.412Z [err] npm ERR!
2022-08-31T20:09:44.413Z [err]  gyp ERR! configure error 
2022-08-31T20:09:44.413Z [err] npm ERR! gyp ERR! stack Error: Could not find any Python installation to use
2022-08-31T20:09:44.413Z [err] npm 
2022-08-31T20:09:44.413Z [err] ERR! gyp ERR! stack     at PythonFinder.fail (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:330:47)
2022-08-31T20:09:44.413Z [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-08-31T20:09:44.413Z [err] npm 
2022-08-31T20:09:44.414Z [err] ERR! gyp ERR! stack     at PythonFinder.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:202:16)
2022-08-31T20:09:44.414Z [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-08-31T20:09:44.414Z [err] npm
2022-08-31T20:09:44.414Z [err]  ERR! gyp ERR! stack     at exithandler (node:child_process:406:5)
2022-08-31T20:09:44.414Z [err] npm ERR! gyp ERR! stack     at ChildProcess.errorhandler (node:child_process:418:5)
2022-08-31T20:09:44.414Z [err] npm
2022-08-31T20:09:44.414Z [err]  ERR! gyp ERR! stack     at ChildProcess.emit (node:events:527:28)
2022-08-31T20:09:44.414Z [err] npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:289:12)
2022-08-31T20:09:44.414Z [err] npm
2022-08-31T20:09:44.415Z [err]  ERR! gyp ERR! stack     at onErrorNT (node:internal/child_process:478:16)
2022-08-31T20:09:44.415Z [err] npm ERR! gyp ERR! stack     at processTicksAndRejections (node:internal/process/task_queues:83:21)
2022-08-31T20:09:44.415Z [err] npm
2022-08-31T20:09:44.415Z [err]  ERR! gyp ERR! System Linux 5.15.32-v8
2022-08-31T20:09:44.415Z [err] npm ERR! gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
2022-08-31T20:09:44.415Z [err] npm ERR! gyp ERR! cwd /config/node-red/node_modules/bufferutil
2022-08-31T20:09:44.416Z [err] npm ERR! gyp ERR! node -v v16.16.0
2022-08-31T20:09:44.416Z [err] npm ERR! gyp ERR! node-gyp -v v9.0.0
2022-08-31T20:09:44.416Z [err] npm 
2022-08-31T20:09:44.416Z [err] ERR! gyp ERR! not ok
2022-08-31T20:09:44.427Z [err] 
2022-08-31T20:09:44.429Z [err] npm ERR!
2022-08-31T20:09:44.429Z [err]  A complete log of this run can be found in:
2022-08-31T20:09:44.429Z [err] npm ERR!     /root/.npm/_logs/2022-08-31T20_09_31_267Z-debug-0.log
2022-08-31T20:09:44.487Z rc=1

Odpovědět

Zpět na „Node-Red“