0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', 1 verbose cli '/usr/bin/npm', 1 verbose cli 'install', 1 verbose cli 'iobroker', 1 verbose cli '--unsafe-perm' ] 2 info using npm@3.10.10 3 info using node@v6.12.0 4 silly loadCurrentTree Starting 5 silly install loadCurrentTree 6 silly install readLocalPackageData 7 silly fetchPackageMetaData iobroker 8 silly fetchOtherPackageData iobroker 9 silly cache add args [ 'iobroker', null ] 10 verbose cache add spec iobroker 11 silly cache add parsed spec Result { 11 silly cache add raw: 'iobroker', 11 silly cache add scope: null, 11 silly cache add escapedName: 'iobroker', 11 silly cache add name: null, 11 silly cache add rawSpec: 'iobroker', 11 silly cache add spec: '/opt/iobroker/iobroker', 11 silly cache add type: 'local' } 12 silly addLocalTarball shasum (computed) 172d89ea6df6ab508c7b69dc0540b583db07e40c 13 verbose addTmpTarball /opt/iobroker/iobroker not in flight; adding 14 verbose correctMkdir /root/.npm correctMkdir not in flight; initializing 15 verbose addTmpTarball validating metadata from /opt/iobroker/iobroker 16 verbose tar unpack /opt/iobroker/iobroker 17 verbose tar unpacking to /tmp/npm-2828-fcd2e04e/unpack-07901f55 18 silly gentlyRm /tmp/npm-2828-fcd2e04e/unpack-07901f55 is being purged 19 verbose gentlyRm don't care about contents; nuking /tmp/npm-2828-fcd2e04e/unpack-07901f55 20 silly gunzTarPerm modes [ '755', '644' ] 21 error not a package /opt/iobroker/iobroker 22 error addLocal Could not install /opt/iobroker/iobroker 23 silly fetchPackageMetaData Error: ENOENT: no such file or directory, open '/tmp/npm-2828-fcd2e04e/unpack-07901f55/package.json' 23 silly fetchPackageMetaData at Error (native) 23 silly fetchPackageMetaData error for iobroker { Error: ENOENT: no such file or directory, open '/tmp/npm-2828-fcd2e04e/unpack-07901f55/package.json' 23 silly fetchPackageMetaData at Error (native) 23 silly fetchPackageMetaData errno: -2, 23 silly fetchPackageMetaData code: 'ENOENT', 23 silly fetchPackageMetaData syscall: 'open', 23 silly fetchPackageMetaData path: '/tmp/npm-2828-fcd2e04e/unpack-07901f55/package.json' } 24 silly rollbackFailedOptional Starting 25 silly rollbackFailedOptional Finishing 26 silly runTopLevelLifecycles Finishing 27 silly install printInstalled 28 verbose stack Error: ENOENT: no such file or directory, open '/tmp/npm-2828-fcd2e04e/unpack-07901f55/package.json' 28 verbose stack at Error (native) 29 verbose cwd /opt/iobroker 30 error Linux 4.9.35-v7+ 31 error argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker" "--unsafe-perm" 32 error node v6.12.0 33 error npm v3.10.10 34 error path /tmp/npm-2828-fcd2e04e/unpack-07901f55/package.json 35 error code ENOENT 36 error errno -2 37 error syscall open 38 error enoent ENOENT: no such file or directory, open '/tmp/npm-2828-fcd2e04e/unpack-07901f55/package.json' 39 error enoent ENOENT: no such file or directory, open '/tmp/npm-2828-fcd2e04e/unpack-07901f55/package.json' 39 error enoent This is most likely not a problem with npm itself 39 error enoent and is related to npm not being able to find a file. 40 verbose exit [ -2, true ]