@haus-automatisierung
Adaptername: javascript
Adapterversion: 8.9.0
js-controller Version: 7.0.3
Admin Version: 7.4.17
Nodejs-Version: 20.18.1
NPM-Version: 10.8.2
Hallo
Nach dem heutigen Update vom JS-Adapter kann er lt. Log die Zusatzmodule nicht installieren.
Issue hab ich erstellt
javascript.0 2025-01-25 15:33:25.217 warn Cannot install custom npm package "simple-ssh@latest"
javascript.0 2025-01-25 15:33:21.875 warn Cannot install custom npm package "node-fetch@2"
javascript.0 2025-01-25 15:33:18.239 warn Cannot install custom npm package "xml2js@latest"
javascript.0 2025-01-25 15:33:14.914 warn Cannot install custom npm package "axios-cookiejar-support@latest"
javascript.0 2025-01-25 15:33:11.279 warn Cannot install custom npm package "tough-cookie@latest"
javascript.0 2025-01-25 15:33:08.057 warn Cannot install custom npm package "axios@latest"
javascript.0 2025-01-25 15:33:04.643 warn Cannot install custom npm package "cheerio@latest"
javascript.0 2025-01-25 15:33:01.151 warn Cannot install custom npm package "request-promise-native@latest"
javascript.0 2025-01-25 15:32:57.680 warn Cannot install custom npm package "request@latest"
javascript.0 2025-01-25 15:32:54.450 warn Cannot install custom npm package "fs@latest"
javascript.0 2025-01-25 15:32:50.940 warn Cannot install custom npm package "hue-push-client@latest"
javascript.0 2025-01-25 15:32:47.470 warn Cannot install custom npm package "rss-parser@latest"
javascript.0 2025-01-25 15:32:44.099 warn Cannot install custom npm package "chroma-js@latest"
javascript.0 2025-01-25 15:32:40.540 warn Cannot install custom npm package "qr-image@latest"
javascript.0 2025-01-25 15:32:36.970 warn Cannot install custom npm package "mathjs@latest"
javascript.0 2025-01-25 15:32:33.537 warn Cannot install custom npm package "moment-duration-format@latest"
javascript.0 2025-01-25 15:32:29.987 warn Cannot install custom npm package "moment-timezone@latest"
javascript.0 2025-01-25 15:32:25.870 warn Cannot install custom npm package "moment@latest"
javascript.0 2025-01-25 15:32:21.631 warn Cannot install custom npm package "node-hue-api@latest"
will ich zurück auf 8.8.3, bricht er ab
$ iobroker upgrade javascript@8.8.3 --debug
Update javascript from @8.9.0 to @8.8.3
NPM version: 10.8.2
Installing iobroker.javascript@8.8.3... (System call)
npm error code ENOTEMPTYnpm error syscall renamenpm error path /opt/iobroker/node_modules/iobroker.adminnpm error dest /opt/iobroker/node_modules/.iobroker.admin-TtUA2igknpm error errno -39npm error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.admin' -> '/opt/iobroker/node_modules/.iobroker.admin-TtUA2igk'
npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-01-25T15_06_18_638Z-debug-0.log
Try to solve ENOTEMPTY error automatically
Could not handle ENOTEMPTY, because no deletable files were foundnpm error code ENOTEMPTYnpm error syscall renamenpm error path /opt/iobroker/node_modules/iobroker.adminnpm error dest /opt/iobroker/node_modules/.iobroker.admin-TtUA2igknpm error errno -39npm error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.admin' -> '/opt/iobroker/node_modules/.iobroker.admin-TtUA2igk'npm error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-01-25T15_06_18_638Z-debug-0.loghost.ioBroker Cannot install iobroker.javascript@8.8.3: 217
ERROR: Process exited with code 25
0 verbose cli /usr/bin/node /usr/bin/npm
1 info using npm@10.8.2
2 info using node@v20.18.1
3 silly config load:file:/usr/lib/node_modules/npm/npmrc
4 silly config load:file:/opt/iobroker/.npmrc
5 silly config load:file:/home/iobroker/.npmrc
6 silly config load:file:/usr/etc/npmrc
7 verbose title npm install iobroker.javascript@8.8.3
8 verbose argv "install" "--save-exact" "iobroker.javascript@8.8.3" "--foreground-scripts"
9 verbose logfile logs-max:10 dir:/home/iobroker/.npm/_logs/2025-01-25T15_06_18_638Z-
10 verbose logfile /home/iobroker/.npm/_logs/2025-01-25T15_06_18_638Z-debug-0.log
11 silly packumentCache heap:2197815296 maxSize:549453824 maxEntrySize:274726912
12 silly logfile start cleaning logs, removing 1 files
13 silly logfile done cleaning log files
14 silly idealTree buildDeps
15 silly fetch manifest iobroker.javascript@8.8.3
16 silly packumentCache full:https://registry.npmjs.org/iobroker.javascript cache-miss
17 verbose shrinkwrap failed to load node_modules/.package-lock.json out of date, updated: node_modules/@iobroker-javascript.0
18 http fetch GET 200 https://registry.npmjs.org/iobroker.javascript 1664ms (cache updated)
19 silly packumentCache full:https://registry.npmjs.org/iobroker.javascript set size:undefined disposed:false
20 silly placeDep ROOT iobroker.javascript@8.8.3 REPLACE for: iobroker.inst@3.0.0 want: 8.8.3
21 silly fetch manifest typescript@~5.5.4
22 silly packumentCache full:https://registry.npmjs.org/typescript cache-miss
23 http fetch GET 200 https://registry.npmjs.org/typescript 210ms (cache updated)
24 silly packumentCache full:https://registry.npmjs.org/typescript set size:undefined disposed:false
25 silly placeDep node_modules/iobroker.javascript typescript@5.5.4 OK for: iobroker.javascript@8.8.3 want: ~5.5.4
26 silly reify mark retired [ '/opt/iobroker/node_modules/iobroker.admin' ]
27 silly reify mark retired [ '/opt/iobroker/node_modules/iobroker.javascript' ]
28 silly reify moves {
28 silly reify '/opt/iobroker/node_modules/iobroker.admin': '/opt/iobroker/node_modules/.iobroker.admin-TtUA2igk',
28 silly reify '/opt/iobroker/node_modules/iobroker.javascript': '/opt/iobroker/node_modules/.iobroker.javascript-5NZ432mn'
28 silly reify }
29 verbose stack Error: ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.admin' -> '/opt/iobroker/node_modules/.iobroker.admin-TtUA2igk'
29 verbose stack at async Object.rename (node:internal/fs/promises:782:10)
29 verbose stack at async moveFile (/usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/move-file.js:30:5)
29 verbose stack at async Promise.allSettled (index 0)
29 verbose stack at async [reifyPackages] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:325:11)
29 verbose stack at async Arborist.reify (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:142:5)
29 verbose stack at async Install.exec (/usr/lib/node_modules/npm/lib/commands/install.js:150:5)
29 verbose stack at async Npm.exec (/usr/lib/node_modules/npm/lib/npm.js:207:9)
29 verbose stack at async module.exports (/usr/lib/node_modules/npm/lib/cli/entry.js:74:5)
30 error code ENOTEMPTY
31 error syscall rename
32 error path /opt/iobroker/node_modules/iobroker.admin
33 error dest /opt/iobroker/node_modules/.iobroker.admin-TtUA2igk
34 error errno -39
35 error ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/iobroker.admin' -> '/opt/iobroker/node_modules/.iobroker.admin-TtUA2igk'
36 silly unfinished npm timer reify 1737817578880
37 silly unfinished npm timer reify:retireShallow 1737817582582
38 verbose cwd /opt/iobroker
39 verbose os Linux 5.15.30-2-pve
40 verbose node v20.18.1
41 verbose npm v10.8.2
42 verbose exit -39
43 verbose code -39
44 error A complete log of this run can be found in: /home/iobroker/.npm/_logs/2025-01-25T15_06_18_638Z-debug-0.log