Ok bin schon mal einen Schritt weiter.
Er brauchte noch ein
npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080
Aber nun bekomme ich dafür
Konsolenausgabe
(13:39 root@pi-fhem01 ~) > npm install -g gassistant-fhem --unsafe-perm
(node:10499) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
npm ERR! TypeError: Request path contains unescaped characters
npm ERR! at new ClientRequest (_http_client.js:127:13)
npm ERR! at TunnelingAgent.request (http.js:38:10)
npm ERR! at TunnelingAgent.createSocket (/usr/lib/nodejs/tunnel-agent/index.js:117:25)
npm ERR! at TunnelingAgent.createSecureSocket [as createSocket] (/usr/lib/nodejs/tunnel-agent/index.js:184:41)
npm ERR! at TunnelingAgent.addRequest (/usr/lib/nodejs/tunnel-agent/index.js:80:8)
npm ERR! at new ClientRequest (_http_client.js:258:16)
npm ERR! at Object.request (http.js:38:10)
npm ERR! at Object.request (https.js:239:15)
npm ERR! at Request.start (/usr/lib/nodejs/request/index.js:607:30)
npm ERR! at Request.end (/usr/lib/nodejs/request/index.js:1235:28)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 4.14.79-v7+
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "-g" "gassistant-fhem" "--unsafe-perm"
npm ERR! cwd /root
npm ERR! node -v v8.11.1
npm ERR! npm -v 1.4.21
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm ERR! not ok code 0
Logfile
(13:40 root@pi-fhem01 ~) > cat npm-debug.log
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 '-g',
1 verbose cli 'gassistant-fhem',
1 verbose cli '--unsafe-perm' ]
2 info using npm@1.4.21
3 info using node@v8.11.1
4 verbose cache add [ 'gassistant-fhem', null ]
5 verbose cache add name=undefined spec="gassistant-fhem" args=["gassistant-fhem",null]
6 verbose parsed url Url {
6 verbose parsed url protocol: null,
6 verbose parsed url slashes: null,
6 verbose parsed url auth: null,
6 verbose parsed url host: null,
6 verbose parsed url port: null,
6 verbose parsed url hostname: null,
6 verbose parsed url hash: null,
6 verbose parsed url search: null,
6 verbose parsed url query: null,
6 verbose parsed url pathname: 'gassistant-fhem',
6 verbose parsed url path: 'gassistant-fhem',
6 verbose parsed url href: 'gassistant-fhem' }
7 silly lockFile 2c576f8c-gassistant-fhem gassistant-fhem
8 verbose lock gassistant-fhem /root/.npm/2c576f8c-gassistant-fhem.lock
9 silly lockFile 2c576f8c-gassistant-fhem gassistant-fhem
10 silly lockFile 2c576f8c-gassistant-fhem gassistant-fhem
11 verbose addNamed [ 'gassistant-fhem', '' ]
12 verbose addNamed [ null, '*' ]
13 silly lockFile c463320b-gassistant-fhem gassistant-fhem@
14 verbose lock gassistant-fhem@ /root/.npm/c463320b-gassistant-fhem.lock
15 silly addNameRange { name: 'gassistant-fhem', range: '*', hasData: false }
16 verbose request where is /gassistant-fhem
17 verbose request registry https://registry.npmjs.org/
18 verbose request id a2c579dacc6cdc4b
19 verbose url raw /gassistant-fhem
20 verbose url resolving [ 'https://registry.npmjs.org/', './gassistant-fhem' ]
21 verbose url resolved https://registry.npmjs.org/gassistant-fhem
22 verbose request where is https://registry.npmjs.org/gassistant-fhem
23 info trying registry request attempt 1 at 13:40:08
24 http GET https://registry.npmjs.org/gassistant-fhem
25 error TypeError: Request path contains unescaped characters
25 error at new ClientRequest (_http_client.js:127:13)
25 error at TunnelingAgent.request (http.js:38:10)
25 error at TunnelingAgent.createSocket (/usr/lib/nodejs/tunnel-agent/index.js:117:25)
25 error at TunnelingAgent.createSecureSocket [as createSocket] (/usr/lib/nodejs/tunnel-agent/index.js:184:41)
25 error at TunnelingAgent.addRequest (/usr/lib/nodejs/tunnel-agent/index.js:80:8)
25 error at new ClientRequest (_http_client.js:258:16)
25 error at Object.request (http.js:38:10)
25 error at Object.request (https.js:239:15)
25 error at Request.start (/usr/lib/nodejs/request/index.js:607:30)
25 error at Request.end (/usr/lib/nodejs/request/index.js:1235:28)
26 error If you need help, you may report this *entire* log,
26 error including the npm and node versions, at:
26 error <http://github.com/npm/npm/issues>
27 error System Linux 4.14.79-v7+
28 error command "/usr/bin/node" "/usr/bin/npm" "install" "-g" "gassistant-fhem" "--unsafe-perm"
29 error cwd /root
30 error node -v v8.11.1
31 error npm -v 1.4.21
32 verbose exit [ 1, true ]
(13:42 root@pi-fhem01 ~) >