Hi Leute, ich bin neu hier und hab mein Raspi2 noch nicht lange.
Ein paar Tutorials ahb ich schon druch, aber bei einem scheitere ich weil sich socket.io nicht installieren läßt.
könnt ihr mir helfen?
Code
Linux raspberrypi 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
@raspberrypi ~ $ npm install socket.io
npm http GET https://registry.npmjs.org/socket.io
npm http GET https://registry.npmjs.org/engine.io/1.5.2
npm http GET https://registry.npmjs.org/socket.io-parser/2.2.4
npm http GET https://registry.npmjs.org/socket.io-client/1.3.6
npm http GET https://registry.npmjs.org/socket.io-adapter/0.3.1
npm http GET https://registry.npmjs.org/has-binary-data/0.1.3
npm http GET https://registry.npmjs.org/debug/2.1.0
npm http GET https://registry.npmjs.org/debug/1.0.2
npm http GET https://registry.npmjs.org/socket.io-parser/2.2.2
npm http GET https://registry.npmjs.org/object-keys/1.0.1
npm http GET https://registry.npmjs.org/ms/0.6.2
npm http GET https://registry.npmjs.org/isarray/0.0.1
npm http GET https://registry.npmjs.org/base64id/0.1.0
npm http GET https://registry.npmjs.org/debug/1.0.3
npm http GET https://registry.npmjs.org/engine.io-parser/1.2.1
npm http GET https://registry.npmjs.org/ws/0.7.2
npm http GET https://registry.npmjs.org/base64id/-/base64id-0.1.0.tgz
npm ERR! failed to fetch https://registry.npmjs.org/base64id/-/base64id-0.1.0.tgz
npm ERR! error installing engine.io@1.5.2
npm ERR! error installing socket.io@1.3.6
npm ERR! error rolling back socket.io@1.3.6 Error: ENOTEMPTY, rmdir '/home/pi/node_modules/socket.io/node_modules/socket.io-adapter/node_modules'
npm ERR! Error: SSL Error: CERT_UNTRUSTED
npm ERR! at ClientRequest.<anonymous> (/usr/lib/nodejs/request/main.js:412:26)
npm ERR! at ClientRequest.g (events.js:156:14)
npm ERR! at ClientRequest.emit (events.js:67:17)
npm ERR! at HTTPParser.parserOnIncomingClient (http.js:1256:7)
npm ERR! at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:91:29)
npm ERR! at CleartextStream.socketOnData (http.js:1288:20)
npm ERR! at CleartextStream._push (tls.js:375:27)
npm ERR! at SecurePair.cycle (tls.js:734:20)
npm ERR! at EncryptedStream.write (tls.js:130:13)
npm ERR! at Socket.ondata (stream.js:38:26)
npm ERR! You may report this log at:
npm ERR! <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR! reportbug --attach /home/pi/npm-debug.log npm
npm ERR!
npm ERR! System Linux 3.18.11-v7+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "socket.io"
npm ERR! cwd /home/pi
npm ERR! node -v v0.6.19
npm ERR! npm -v 1.1.4
npm ERR! message SSL Error: CERT_UNTRUSTED
npm ERR! error installing socket.io-client@1.3.6
npm http GET https://registry.npmjs.org/ms/0.6.2
npm http GET https://registry.npmjs.org/isarray/0.0.1
npm http GET https://registry.npmjs.org/debug/0.7.4
npm http GET https://registry.npmjs.org/json3/3.2.6
npm http GET https://registry.npmjs.org/component-emitter/1.1.2
npm http GET https://registry.npmjs.org/benchmark/1.0.0
npm http GET https://registry.npmjs.org/debug/-/debug-0.7.4.tgz
npm ERR! failed to fetch https://registry.npmjs.org/debug/-/debug-0.7.4.tgz
npm ERR! error installing socket.io-parser@2.2.2
npm ERR! error installing socket.io-adapter@0.3.1
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/npm-debug.log
npm not ok
pi@raspberrypi ~ $
Alles anzeigen