###############################################################################
## Release = Raspbian GNU/Linux 11 (bullseye)
## Kernel = Linux 6.1.21-v8+
## Platform = Raspberry Pi 4 Model B Rev 1.4 2GB
############################################################################### _ _ _ ____ _
___ ___ ___ ___ | | | | / \ | __ ) (_) ____ ___
/ _ \ / _ \ / _ \ / _ \ | |_| | / _ \ | _ \ | | / _ \ / _ \
| (_) | (_) | __/| | | || _ | / ___ \ | |_) )| || (_) || | | |
\___/| __/ \___/|_| |_||_| |_|/_/ \_\|____/ |_| \__|_||_| | |
|_| openHAB 4.3.2 - Release Build
##############################################################################
dpkg -l | grep -e openjdk -e nodejs
ii nodejs 18.17.1-deb-1nodesource1 armhf Node.js event-based server-side javascript engine
ii openjdk-17-jre-headless:armhf 1:17.0.13+11-1~deb11u1+rpt1 armhf OpenJDK Java runtime, using Hotspot JIT (headless)
##############################################################################
Hi there, found out today I get that error while/after calling “openhabian-config” to update some OH related stuff. It still does update itself and whatever configuration items.
sudo openhabian-config
2025-02-04_18:46:43_CET [openHABian] Checking for root privileges... OK
2025-02-04_18:46:43_CET [openHABian] Making sure router advertisements are available... OK
2025-02-04_18:46:43_CET [openHABian] Disabling IPv6... OK
2025-02-04_18:46:43_CET [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2025-02-04_18:46:43_CET [openHABian] openHABian configuration tool version: [openHAB]{2025-02-03T13:58:34-07:00}(6f5beda)
2025-02-04_18:46:43_CET [openHABian] Checking for changes in origin branch openHAB... OK
2025-02-04_18:46:47_CET [openHABian] Switching to branch openHAB... OK
2025-02-04_18:46:47_CET [openHABian] Checking openHAB Signing Key expiry.
2025-02-04_18:46:47_CET [openHABian] Checking expiry date of apt keys... OK
2025-02-04_18:46:48_CET [openHABian] Checking for updates of openhab_rules_tools for JS Scripting... /usr/lib/node_modules/npm/node_modules/cacache/lib/verify.js:11
const pMap = require('p-map')
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /usr/lib/node_modules/npm/node_modules/cacache/node_modules/p-map/index.js from /usr/lib/node_modules/npm/node_modules/cacache/lib/verify.js not supported.
Instead change the require of index.js in /usr/lib/node_modules/npm/node_modules/cacache/lib/verify.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/cacache/lib/verify.js:11:14)
at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/cacache/lib/index.js:6:16)
at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/cache/entry.js:4:17)
at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/cache/index.js:2:20)
at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/fetch.js:7:15)
at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/index.js:4:15)
at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/index.js:6:15)
at Object.<anonymous> (/usr/lib/node_modules/npm/lib/utils/replace-info.js:1:22)
at Object.<anonymous> (/usr/lib/node_modules/npm/lib/utils/error-message.js:4:21)
at Object.<anonymous> (/usr/lib/node_modules/npm/lib/utils/exit-handler.js:5:22)
at module.exports (/usr/lib/node_modules/npm/lib/cli.js:42:23)
at Object.<anonymous> (/usr/lib/node_modules/npm/bin/npm-cli.js:2:25) {
code: 'ERR_REQUIRE_ESM'
}
Node.js v18.17.1
No update available.
/usr/lib/node_modules/npm/node_modules/cacache/lib/verify.js:11
const pMap = require('p-map')
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /usr/lib/node_modules/npm/node_modules/cacache/node_modules/p-map/index.js from /usr/lib/node_modules/npm/node_modules/cacache/lib/verify.js not supported.
Instead change the require of index.js in /usr/lib/node_modules/npm/node_modules/cacache/lib/verify.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/cacache/lib/verify.js:11:14)
at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/cacache/lib/index.js:6:16)
at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/cache/entry.js:4:17)
at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/cache/index.js:2:20)
at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/fetch.js:7:15)
at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/make-fetch-happen/lib/index.js:4:15)
at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-registry-fetch/lib/index.js:6:15)
at Object.<anonymous> (/usr/lib/node_modules/npm/lib/utils/replace-info.js:1:22)
at Object.<anonymous> (/usr/lib/node_modules/npm/lib/utils/error-message.js:4:21)
at Object.<anonymous> (/usr/lib/node_modules/npm/lib/utils/exit-handler.js:5:22)
at module.exports (/usr/lib/node_modules/npm/lib/cli.js:42:23)
at Object.<anonymous> (/usr/lib/node_modules/npm/bin/npm-cli.js:2:25) {
code: 'ERR_REQUIRE_ESM'
}
Node.js v18.17.1
2025-02-04_18:46:53_CET [openHABian] Checking for default openHABian username:password combination... OK
2025-02-04_18:46:53_CET [openHABian] We hope you got what you came for! See you again soon ;)