Guten morgen,
habe nochmals probiert, leider ohne Erfolg. Ist es richtig dass er die Ordner node-modules,iobroker-data usw. nicht im erstellten iobroker Verzeichnis installiert? Das wundert mich etwas, sollte das nicht alles unter "iobroker" liegen?
[~] # npm config set python /share/CACHEDEV1_DATA/.qpkg/Python/src/bin/python
[~] # cd /share/CACHEDEV1_DATA/.qpkg
[/share/CACHEDEV1_DATA/.qpkg] # rm -r iobroker
[/share/CACHEDEV1_DATA/.qpkg] # mkdir iobroker
[/share/CACHEDEV1_DATA/.qpkg] # chmod 777 iobroker
[/share/CACHEDEV1_DATA/.qpkg] # cd iobroker
[/share/CACHEDEV1_DATA/.qpkg/iobroker] # npm install iobroker --unsafe-perm
> unix-dgram@0.2.3 install /share/CACHEDEV1_DATA/.qpkg/node_modules/unix-dgram
> node-gyp rebuild
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:14:12)
gyp ERR! stack at F (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:69:19)
gyp ERR! stack at E (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:81:29)
gyp ERR! stack at /share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:90:16
gyp ERR! stack at /share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
gyp ERR! stack at /share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System Linux 4.2.8
gyp ERR! command "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/bin/node" "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /share/CACHEDEV1_DATA/.qpkg/node_modules/unix-dgram
gyp ERR! node -v v6.11.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
> ursa@0.9.4 install /share/CACHEDEV1_DATA/.qpkg/node_modules/ursa
> node-gyp rebuild
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:14:12)
gyp ERR! stack at F (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:69:19)
gyp ERR! stack at E (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:81:29)
gyp ERR! stack at /share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:90:16
gyp ERR! stack at /share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5
gyp ERR! stack at /share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/node_modules/isexe/access.js:8:5
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System Linux 4.2.8
gyp ERR! command "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/bin/node" "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /share/CACHEDEV1_DATA/.qpkg/node_modules/ursa
gyp ERR! node -v v6.11.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
> iobroker@1.0.8 install /share/CACHEDEV1_DATA/.qpkg/node_modules/iobroker
> node lib/setup.js
NPM version: 2.15.12
npm install iobroker.discovery --production --save --prefix /share/CACHEDEV1_DATA/.qpkg
npm install iobroker.admin --production --save --prefix /share/CACHEDEV1_DATA/.qpkg
npm install iobroker.js-controller --production --save --prefix /share/CACHEDEV1_DATA/.qpkg
Non-critical error: EISDIR: illegal operation on a directory, open '/share/CACHEDEV1_DATA/.qpkg/iobroker'
iobroker.inst@1.0.8 /share/CACHEDEV1_DATA/.qpkg
└── iobroker@1.0.8
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 (node_modules/ursa):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
[/share/CACHEDEV1_DATA/.qpkg/iobroker] # ./iobroker del admin.0
-sh: ./iobroker: No such file or directory
[/share/CACHEDEV1_DATA/.qpkg/iobroker] # ls
[/share/CACHEDEV1_DATA/.qpkg/iobroker] # iobroker start
-sh: iobroker: command not found
[/share/CACHEDEV1_DATA/.qpkg/iobroker] # cd ..
[/share/CACHEDEV1_DATA/.qpkg] # ls
CloudLink/ iobroker/ nodejsv6/ QDMS/ qusbcam2/ Unifi/
container-station/ iobroker-data/ node_modules/ QJDK8/ reinstall.sh
etc/ killall.sh package.json QKVM/ SurveillanceStation/
helpdesk/ log/ Python/ QsyncServer/ ubuntu-hd/
EDIT: Genau daran lag es, habe jetzt alles von Hand über WinSCP in das iobroker Verzeichnis verschoben und schon läuft das Ding 8-)
EDIT2: Leider doch noch nicht so ganz, wollte gerade einen Adapter installieren. Da kommt dann auch der Error:
iobroker 2018-02-16 11:29:34.854 info npm install iobroker.amazon-dash --production --prefix "/share/CACHEDEV1_DATA/.qpkg/iobroker" (System call)
iobroker 2018-02-16 11:29:34.714 info host.NAS1C16C2 install adapter amazon-dash
iobroker 2018-02-16 11:29:34.694 info npm ERR! Please include the following file with any support request:npm ERR! /share/CACHEDEV1_DATA/.qpkg/npm-debug.log
iobroker 2018-02-16 11:29:34.693 info
iobroker 2018-02-16 11:29:34.634 info npm ERR! There is likely additional logging output above.
iobroker 2018-02-16 11:29:34.634 info npm ERR! npm owner ls socketwatcher
iobroker 2018-02-16 11:29:34.634 info npm ERR! Or if that isn't available, you can get their info via:
iobroker 2018-02-16 11:29:34.634 info npm ERR! npm bugs socketwatcher
iobroker 2018-02-16 11:29:34.634 info npm ERR! You can get information on how to open an issue for this project with:
iobroker 2018-02-16 11:29:34.634 info ERR! Tell the author that this fails on your system:npm ERR! node-gyp rebuild
iobroker 2018-02-16 11:29:34.631 info npm
iobroker 2018-02-16 11:29:34.631 info npm ERR! not with npm itself.
iobroker 2018-02-16 11:29:34.631 info npm ERR! If you do, this is most likely a problem with the socketwatcher package,
iobroker 2018-02-16 11:29:34.631 info npm ERR! Make sure you have the latest version of node.js and npm installed.
iobroker 2018-02-16 11:29:34.631 info npm ERR! Failed at the socketwatcher@0.3.0 install script 'node-gyp rebuild'.
iobroker 2018-02-16 11:29:34.631 info npm ERR!
iobroker 2018-02-16 11:29:34.631 info npm ERR! Exit status 1
iobroker 2018-02-16 11:29:34.631 info npm ERR! socketwatcher@0.3.0 install: `node-gyp rebuild`
iobroker 2018-02-16 11:29:34.631 info npm ERR! code ELIFECYCLE
iobroker 2018-02-16 11:29:34.624 info npm ERR! npm v3.10.10
iobroker 2018-02-16 11:29:34.624 info npm ERR! argv "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/bin/node" "/usr/local/bin/npm" "install" "iobroker.amazon-dash" "--production" "--prefix" "/share/CACHEDEV1_DATA/.qpkg/iobroker"npm ERR! node
iobroker 2018-02-16 11:29:34.623 info npm ERR! Linux 4.2.8
iobroker 2018-02-16 11:29:34.216 info ERR! node-gyp -v v3.4.0gyp ERR! not ok
iobroker 2018-02-16 11:29:34.215 info gyp
iobroker 2018-02-16 11:29:34.215 info gyp ERR! node -v v6.11.1
iobroker 2018-02-16 11:29:34.215 info gyp ERR! cwd /share/CACHEDEV1_DATA/.qpkg/iobroker/node_modules/socketwatcher
iobroker 2018-02-16 11:29:34.215 info gyp ERR! System Linux 4.2.8gyp ERR! command "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/bin/node" "/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
iobroker 2018-02-16 11:29:34.214 info gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
iobroker 2018-02-16 11:29:34.214 info ERR! stack at /share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/node_modules/isexe/index.js:44:5gyp ERR! stack at /share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/li
iobroker 2018-02-16 11:29:34.213 info gyp
iobroker 2018-02-16 11:29:34.213 info gyp ERR! stack at /share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:90:16
iobroker 2018-02-16 11:29:34.213 info gyp ERR! stack at E (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:81:29)
iobroker 2018-02-16 11:29:34.213 info gyp ERR! stack at F (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:69:19)
iobroker 2018-02-16 11:29:34.213 info ERR! stack Error: not found: makegyp ERR! stack at getNotFoundError (/share/CACHEDEV1_DATA/.qpkg/nodejsv6/node/lib/node_modules/npm/node_modules/which/which.js:14:12)
iobroker 2018-02-16 11:29:34.212 info gyp
iobroker 2018-02-16 11:29:34.208 info ERR! build error
iobroker 2018-02-16 11:29:34.207 info
iobroker 2018-02-16 11:29:34.203 info gyp
iobroker 2018-02-16 11:29:32.381 info npm WARN lifecycle iobroker.amazon-dash@0.2.8~preinstall: cannot run in wd %s %s (wd=%s) iobroker.amazon-dash@0.2.8 apt-get install libpcap-dev -y || true /share/CACHEDEV1_DATA/.qpkg/iobroker