Asystent AI
Aktualizacja Zigbee...
 
Powiadomienia
Wyczyść wszystko

Domoticz Aktualizacja Zigbee2mqtt

1 Wpisów
1 Użytkownicy
0 Reactions
1,079 Wyświetleń
(@szmydu)
Wpisów: 72
Pomocny
Autor tematu
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 
[#5786]

Cześć,

czy spotkał się ktoś z taki błędem, lub wie jak się go pozbyć :

Installing dependencies...
npm WARN prepare removing existing node_modules/ before installation
npm ERR! Cannot read property 'ajv' of undefined

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2024-01-05T10_32_25_087Z-debug.log

 

Pojawia się podczas aktualizacji Zigbee2mqtt. We wskazanym logu jest:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'ci' ]
2 info using npm@6.14.16
3 info using node@v12.22.12
4 verbose npm-session 3809411c38989eb8
5 info prepare initializing installer
6 verbose prepare starting workers
7 verbose prepare installation prefix: /opt/zigbee2mqtt
8 verbose prepare using package-lock.json
9 warn prepare removing existing node_modules/ before installation
10 verbose checkLock verifying package-lock data
11 verbose teardown shutting down workers.
12 info teardown Done in 0.001s
13 verbose stack TypeError: Cannot read property 'ajv' of undefined
13 verbose stack     at /usr/lib/node_modules/npm/node_modules/lock-verify/index.js:27:40
13 verbose stack     at Array.forEach (<anonymous>)
13 verbose stack     at /usr/lib/node_modules/npm/node_modules/lock-verify/index.js:25:25
14 verbose cwd /opt/zigbee2mqtt
15 verbose Linux 5.10.63-v7+
16 verbose argv "/usr/bin/node" "/usr/bin/npm" "ci"
17 verbose node v12.22.12
18 verbose npm  v6.14.16
19 error Cannot read property 'ajv' of undefined
20 verbose exit [ 1, true ]0 info it worked if it ends with ok

 


 
Dodane : 05/01/2024 12:45 pm
Udostępnij: