Wie gehts weiter?

Node-RED als CCU3/RaspberryMatic Addon, WebApp, HomeKit, ...

Moderator: Co-Administratoren

Benutzeravatar
joni-blue
Beiträge: 1173
Registriert: 04.01.2012, 12:20
System: CCU
Wohnort: Hannover
Hat sich bedankt: 6 Mal
Danksagung erhalten: 1 Mal

Re: Wie gehts weiter?

Beitrag von joni-blue » 16.10.2022, 14:57

danke, das habe ich gelesen aber wie und was?
Reboot tut gut ! ! !

Benutzeravatar
joni-blue
Beiträge: 1173
Registriert: 04.01.2012, 12:20
System: CCU
Wohnort: Hannover
Hat sich bedankt: 6 Mal
Danksagung erhalten: 1 Mal

Re: Wie gehts weiter?

Beitrag von joni-blue » 16.10.2022, 16:25

hi, was läuft hier falsch?

Code: Alles auswählen

# source /usr/local/addons/redmatic/home/.profile
# cd /usr/local/addons/redmatic/var
# npm install -g agentkeepalive --save
npm WARN npm npm does not support Node.js v14.16.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
npm ERR! cb.apply is not a function

npm ERR! A complete log of this run can be found in:
npm ERR!     /usr/local/addons/redmatic/var/npm-cache/_logs/2022-10-16T14_22_58_671Z-debug.log
# npm install -g npm@8.18.0
npm WARN npm npm does not support Node.js v14.16.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
npm ERR! cb.apply is not a function

npm ERR! A complete log of this run can be found in:
npm ERR!     /usr/local/addons/redmatic/var/npm-cache/_logs/2022-10-16T14_23_12_693Z-debug.log
# npm install -g node-red@3.0.2
npm WARN npm npm does not support Node.js v14.16.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
npm ERR! cb.apply is not a function

npm ERR! A complete log of this run can be found in:
npm ERR!     /usr/local/addons/redmatic/var/npm-cache/_logs/2022-10-16T14_23_31_473Z-debug.log
# 
complete log

Code: Alles auswählen

0 info it worked if it ends with ok
1 warn npm npm does not support Node.js v14.16.0
2 warn npm You should probably upgrade to a newer version of node as we
3 warn npm can't make any promises that npm will work with this version.
4 warn npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
5 warn npm You can find the latest version at https://nodejs.org/
6 verbose cli [
6 verbose cli   '/usr/local/addons/redmatic/bin/node',
6 verbose cli   '/usr/bin/npm',
6 verbose cli   'install',
6 verbose cli   '-g',
6 verbose cli   'node-red@3.0.2'
6 verbose cli ]
7 info using npm@5.6.0
8 info using node@v14.16.0
9 verbose npm-session 0bd7d5577e42841f
10 silly install loadCurrentTree
11 silly install readGlobalPackageData
12 http fetch GET 304 https://registry.npmjs.org/node-red 975ms (from cache)
13 silly pacote version manifest for node-red@3.0.2 fetched in 1101ms
14 verbose stack TypeError: cb.apply is not a function
14 verbose stack     at /usr/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:287:18
14 verbose stack     at FSReqCallback.oncomplete (fs.js:184:5)
15 verbose cwd /usr/local/addons/redmatic/var
16 verbose Linux 4.14.34
17 verbose argv "/usr/local/addons/redmatic/bin/node" "/usr/bin/npm" "install" "-g" "node-red@3.0.2"
18 verbose node v14.16.0
19 verbose npm  v5.6.0
20 error cb.apply is not a function
21 verbose exit [ 1, true ]
Reboot tut gut ! ! !

Benutzeravatar
joni-blue
Beiträge: 1173
Registriert: 04.01.2012, 12:20
System: CCU
Wohnort: Hannover
Hat sich bedankt: 6 Mal
Danksagung erhalten: 1 Mal

Re: Wie gehts weiter?

Beitrag von joni-blue » 16.10.2022, 17:54

Steige ich nicht mehr durch!

Code: Alles auswählen

# source /usr/local/addons/redmatic/home/.profile
# cd /usr/local/addons/redmatic/var
# npm install -g agentkeepalive --save

changed 5 packages, and audited 6 packages in 4s

found 0 vulnerabilities
# npm install -g npm@8.18.0
npm ERR! code ENOTEMPTY
npm ERR! syscall rename
npm ERR! path /usr/local/addons/redmatic/lib/node_modules/npm
npm ERR! dest /usr/local/addons/redmatic/lib/node_modules/.npm-odV69XLQ
npm ERR! errno -39
npm ERR! ENOTEMPTY: directory not empty, rename '/usr/local/addons/redmatic/lib/node_modules/npm' -> '/usr/local/addons/redmatic/lib/node_modules/.npm-odV69XLQ'

npm ERR! A complete log of this run can be found in:
npm ERR!     /usr/local/addons/redmatic/var/npm-cache/_logs/2022-10-16T15_50_13_469Z-debug.log
# npm install -g node-red@3.0.2
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://github.com/npm/cli/issues>

npm ERR! A complete log of this run can be found in:
npm ERR!     /usr/local/addons/redmatic/var/npm-cache/_logs/2022-10-16T15_51_36_426Z-debug.log
# 
Reboot tut gut ! ! !

Antworten

Zurück zu „RedMatic“