СБ
Size: a a a
СБ
F
М
М
М
М
М
М
СБ
СБ
СБ
М
YM
М
VS
pi@raspberrypi:/opt/iobroker $ sudo npm install iobroker --unsafe-perm
> iobroker@2.0.2 install /opt/iobroker/node_modules/iobroker
> node lib/checkVersions.js
NPM version: 6.4.1
> iobroker@2.0.2 postinstall /opt/iobroker/node_modules/iobroker
> node lib/install.js
╭─────────────────────────────────────────────────────────╮
│ │
│ Manual installation of ioBroker is no longer supported │
│ on Linux, OSX and FreeBSD! │
│ Please refer to the documentation on how to install it! │
│ https://github.com/ioBroker/ioBroker/wiki/Installation │
│ │
╰─────────────────────────────────────────────────────────╯
npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
npm WARN iobroker No description
npm WARN iobroker No repository field.
npm WARN iobroker No README data
npm WARN iobroker No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 100
npm ERR! iobroker@2.0.2 postinstall: `node lib/install.js`
npm ERR! Exit status 100
npm ERR!
npm ERR! Failed at the iobroker@2.0.2 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-04-09T21_11_26_365Z-debug.log
VS
VS
1478 info lifecycle iobroker@2.0.2~postinstall: iobroker@2.0.2
1479 verbose lifecycle iobroker@2.0.2~postinstall: unsafe-perm in lifecycle true
1480 verbose lifecycle iobroker@2.0.2~postinstall: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/usr/lib/node_modules/iobroker/node_modules/.bin:/usr/lib/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr$
1481 verbose lifecycle iobroker@2.0.2~postinstall: CWD: /usr/lib/node_modules/iobroker
1482 silly lifecycle iobroker@2.0.2~postinstall: Args: [ '-c', 'node lib/install.js' ]
1483 silly lifecycle iobroker@2.0.2~postinstall: Returned: code: 100 signal: null
1484 info lifecycle iobroker@2.0.2~postinstall: Failed to exec postinstall script
1485 timing action:postinstall Completed in 1096ms
1486 verbose unlock done using /root/.npm/_locks/staging-a072192f34a17023.lock for /usr/lib/node_modules/.staging
1487 timing stage:rollbackFailedOptional Completed in 616ms
1488 timing stage:runTopLevelLifecycles Completed in 13179ms
1489 verbose stack Error: iobroker@2.0.2 postinstall: `node lib/install.js`
1489 verbose stack Exit status 100
1489 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
1489 verbose stack at EventEmitter.emit (events.js:189:13)
1489 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
1489 verbose stack at ChildProcess.emit (events.js:189:13)
1489 verbose stack at maybeClose (internal/child_process.js:970:16)
1489 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
1490 verbose pkgid iobroker@2.0.2
1491 verbose cwd /opt/iobroker
1492 verbose Linux 4.19.34-v7+
1493 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "iobroker" "--unsafe-perm"
1494 verbose node v10.15.3
1495 verbose npm v6.4.1
1496 error code ELIFECYCLE
1497 error errno 100
1498 error iobroker@2.0.2 postinstall: `node lib/install.js`
1498 error Exit status 100
1499 error Failed at the iobroker@2.0.2 postinstall script.
1499 error This is probably not a problem with npm. There is likely additional logging output above.
1500 verbose exit [ 100, true ]
AS
VS