NEWS
Mac OS: adapter installation error
-
Hello, I have installed latest ioBroker on Mac OS Sonoma (Mac Mini M1) and I receive error as shown in log example during installation of any adapter, when I repeat the installation the adapter seems to be installed, it can create instances, which works, but when I reboot OS and ioBroker is realaunched, all adapters are missing and it tries to install them again which failes with same error. When I reinstall them manually, it works again. Any help appreciated. Thanks!
host.unifi 2025-02-22 16:39:10.294 info iobroker npm-install: exit 25 host.unifi 2025-02-22 16:39:09.274 error iobroker npm-install: host.unifi Cannot install iobroker.mqtt@6.1.2: 243 host.unifi 2025-02-22 16:39:09.274 error iobroker npm-install: npm error code EACCESnpm error syscall opennpm error path /usr/local/iobroker/package.jsonnpm error errno -13npm error Error: EACCES: permission denied, open '/usr/local/iobroker/package.json'npm error at async open (node:internal/fs/promises:639:25)npm error at async writeFile (node:internal/fs/promises:1212:14)npm error at async PackageJson.save (/usr/local/lib/node_modules/npm/node_modules/@npmcli/package-json/lib/index.js:250:14)npm error at async [saveIdealTree] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:1512:9)npm error at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:148:5)npm error at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:150:5)npm error at async Npm.exec (/usr/local/lib/node_modules/npm/lib/npm.js:207:9)npm error at async module.exports (/usr/local/lib/node_modules/npm/lib/cli/entry.js:74:5) {npm error errno: -13,npm error code: 'EACCES',npm error syscall: 'open',npm error path: '/usr/local/iobroker/package.json'npm error }npm errornpm error The operation was rejected by your operating system.npm error It is likely you do not have the permissions to access this file as the current usernpm errornpm error If you believe this might be a permissions issue, please double-check thenpm error permissions of the file and its containing directories, or try runningnpm error the command again as root/Administrator.npm error A complete log of this run can be found in: /Users/michal/.npm/_logs/2025-02-22T15_39_06_838Z-debug-0.log host.unifi 2025-02-22 16:39:06.764 info iobroker npm-install: Installing iobroker.mqtt@6.1.2... (System call) host.unifi 2025-02-22 16:39:06.764 info iobroker npm-install: NPM version: 10.8.2 host.unifi 2025-02-22 16:39:06.106 info iobroker install mqtt@6.1.2 using installedVersion host.unifi 2025-02-22 16:39:06.105 warn startInstance cannot find adapter "mqtt@6.1.2". Try to install it... 2 attempt host.unifi 2025-02-22 16:39:05.097 info iobroker npm-install: exit 25 host.unifi 2025-02-22 16:39:04.080 error iobroker npm-install: host.unifi Cannot install iobroker.vw-connect@0.6.1: 243 host.unifi 2025-02-22 16:39:04.080 error iobroker npm-install: npm error code EACCESnpm error syscall opennpm error path /usr/local/iobroker/package.jsonnpm error errno -13npm error Error: EACCES: permission denied, open '/usr/local/iobroker/package.json'npm error at async open (node:internal/fs/promises:639:25)npm error at async writeFile (node:internal/fs/promises:1212:14)npm error at async PackageJson.save (/usr/local/lib/node_modules/npm/node_modules/@npmcli/package-json/lib/index.js:250:14)npm error at async [saveIdealTree] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:1512:9)npm error at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:148:5)npm error at async Install.exec (/usr/local/lib/node_modules/npm/lib/commands/install.js:150:5)npm error at async Npm.exec (/usr/local/lib/node_modules/npm/lib/npm.js:207:9)npm error at async module.exports (/usr/local/lib/node_modules/npm/lib/cli/entry.js:74:5) {npm error errno: -13,npm error code: 'EACCES',npm error syscall: 'open',npm error path: '/usr/local/iobroker/package.json'npm error }npm errornpm error The operation was rejected by your operating system.npm error It is likely you do not have the permissions to access this file as the current usernpm errornpm error If you believe this might be a permissions issue, please double-check thenpm error permissions of the file and its containing directories, or try runningnpm error the command again as root/Administrator.npm error A complete log of this run can be found in: /Users/michal/.npm/_logs/2025-02-22T15_38_58_539Z-debug-0.log host.unifi 2025-02-22 16:38:58.419 info iobroker npm-install: Installing iobroker.vw-connect@0.6.1... (System call) host.unifi 2025-02-22 16:38:58.418 info iobroker npm-install: NPM version: 10.8.2 host.unifi 2025-02-22 16:38:57.326 info iobroker install vw-connect@0.6.1 using installedVersion host.unifi 2025-02-22 16:38:57.325 warn startInstance cannot find adapter "vw-connect@0.6.1". Try to install it... 1 attempt
Systemdata Bitte Ausfüllen Adaptername: All Adapters js-controller Version: v20.17.0 Admin Version: 7.4.10 Hardwaresystem: Mac Mini M1 Arbeitsspeicher: 8 GB Festplattenart: 256 GB SSD Betriebssystem: Mac OS Sonoma Nodejs-Version: v20.17.0 NPM-Version: 10.8.2 Installationsart: Skript from official website - finished without any issues Image / Docker genutzt: No