Paket: Node.js

  • Ab sofort steht euch hier im Forum die neue Add-on Verwaltung zur Verfügung – eine zentrale Plattform für alles rund um Erweiterungen und Add-ons für den DSM.

    Damit haben wir einen Ort, an dem Lösungen von Nutzern mit der Community geteilt werden können. Über die Team Funktion können Projekte auch gemeinsam gepflegt werden.

    Was die Add-on Verwaltung kann und wie es funktioniert findet Ihr hier

    Hier geht es zu den Add-ons

Status
Für weitere Antworten geschlossen.

Garfield

Benutzer
Registriert
09. Juli 2008
Beiträge
195
Reaktionspunkte
2
Punkte
18
Hallo zusammen,

vorab mal kurz mein Vorhaben: Ich würde gerne versuchen, Node RED auf meiner Syno [DS710+] zum laufen zu bringen (hierfür: http://www.rwe-smarthome-forum.de/thread-node-red-plugin-fuer-rwe-smarthome) . Allerdings habe ich bis jetzt von dem ganzen Node noch 0 Ahnung. Also habe ich gerade das Paket Node.js installiert, welches Vorraussetzung für Node RED ist.

Anschließend per SSH auf die Syno und mit dem root - Account eingeloggt.

Rich (BBCode):
NAS> node -v
v0.10.36

Also das Node.JS hat er scheinbar schonmal installiert. Anschließend versucht, Node RED zu installieren, wobei er mir aber sagt der root hätte keine Rechte ??!

Rich (BBCode):
NAS> npm install -g node-red

> node-icu-charset-detector@0.0.7 install /usr/lib/node_modules/node-red/node_modules/irc/node_modules/node-icu-charset-detector
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.36"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/node-red/node_modules/irc/node_modules/node-icu-charset-detector/.node-gyp"
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack     at F (/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:43:28)
gyp ERR! stack     at E (/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:46:29)
gyp ERR! stack     at /volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:57:16
gyp ERR! stack     at Object.oncomplete (evalmachine.<anonymous>:108:15)
gyp ERR! System Linux 3.10.35
gyp ERR! command "node" "/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /volume1/@appstore/Node.js/usr/lib/node_modules/node-red/node_modules/irc/node_modules/node-icu-charset-detector
gyp ERR! node -v v0.10.36
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm WARN optional dep failed, continuing node-icu-charset-detector@0.0.7

> utf-8-validate@1.0.1 install /usr/lib/node_modules/node-red/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.36"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/node-red/node_modules/ws/node_modules/utf-8-validate/.node-gyp"
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack     at F (/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:43:28)
gyp ERR! stack     at E (/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:46:29)
gyp ERR! stack     at /volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:57:16
gyp ERR! stack     at Object.oncomplete (evalmachine.<anonymous>:108:15)
gyp ERR! System Linux 3.10.35
gyp ERR! command "node" "/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /volume1/@appstore/Node.js/usr/lib/node_modules/node-red/node_modules/ws/node_modules/utf-8-validate
gyp ERR! node -v v0.10.36
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm WARN optional dep failed, continuing utf-8-validate@1.0.1

> bufferutil@1.0.1 install /usr/lib/node_modules/node-red/node_modules/ws/node_modules/bufferutil
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.36"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/node-red/node_modules/ws/node_modules/bufferutil/.node-gyp"
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack     at F (/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:43:28)
gyp ERR! stack     at E (/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:46:29)
gyp ERR! stack     at /volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:57:16
gyp ERR! stack     at Object.oncomplete (evalmachine.<anonymous>:108:15)
gyp ERR! System Linux 3.10.35
gyp ERR! command "node" "/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /volume1/@appstore/Node.js/usr/lib/node_modules/node-red/node_modules/ws/node_modules/bufferutil
gyp ERR! node -v v0.10.36
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm WARN optional dep failed, continuing bufferutil@1.0.1

> iconv@2.1.6 install /usr/lib/node_modules/node-red/node_modules/irc/node_modules/iconv
> node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.36"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/lib/node_modules/node-red/node_modules/irc/node_modules/iconv/.node-gyp"
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack     at F (/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:43:28)
gyp ERR! stack     at E (/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:46:29)
gyp ERR! stack     at /volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/which/which.js:57:16
gyp ERR! stack     at Object.oncomplete (evalmachine.<anonymous>:108:15)
gyp ERR! System Linux 3.10.35
gyp ERR! command "node" "/volume1/@appstore/Node.js/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /volume1/@appstore/Node.js/usr/lib/node_modules/node-red/node_modules/irc/node_modules/iconv
gyp ERR! node -v v0.10.36
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm WARN optional dep failed, continuing iconv@2.1.6

> serialport@1.4.10 install /usr/lib/node_modules/node-red/node_modules/serialport
> node-pre-gyp install --fallback-to-build

[serialport] Success: "/volume1/@appstore/Node.js/usr/lib/node_modules/node-red/node_modules/serialport/build/serialport/v1.4.10/Release/node-v11-linux-ia32/serialport.node" is installed via remote
/usr/bin/node-red -> /usr/lib/node_modules/node-red/red.js
/usr/bin/node-red-pi -> /usr/lib/node_modules/node-red/bin/node-red-pi
node-red@0.10.4 /usr/lib/node_modules/node-red
??? is-utf8@0.2.0
??? on-headers@1.0.0
??? clone@0.2.0
??? twitter-ng@0.6.2
??? passport-oauth2-client-password@0.1.2 (passport-strategy@1.0.0)
??? nopt@3.0.1 (abbrev@1.0.5)
??? passport-http-bearer@1.0.1 (passport-strategy@1.0.0)
??? mustache@1.0.0
??? fs.notify@0.0.4 (retry@0.6.1, async@0.1.22)
??? cors@2.5.3 (vary@1.0.0)
??? oauth@0.9.12
??? follow-redirects@0.0.3 (underscore@1.8.2)
??? passport@0.2.1 (pause@0.0.1, passport-strategy@1.0.0)
??? mkdirp@0.5.0 (minimist@0.0.8)
??? oauth2orize@1.0.1 (uid2@0.0.3, utils-merge@1.0.0, debug@0.7.4)
??? bcryptjs@2.1.0
??? when@3.7.2
??? raw-body@1.3.2 (bytes@1.0.0, iconv-lite@0.4.6)
??? fs-extra@0.16.3 (jsonfile@2.0.0, graceful-fs@3.0.6, rimraf@2.3.2)
??? nodemailer@1.3.0 (nodemailer-smtp-transport@0.1.13, hyperquest@0.3.0, nodemailer-direct-transport@1.0.2, libmime@0.1.7, buildmail@1.2.1)
??? mqtt@0.3.13 (readable-stream@1.0.33)
??? request@2.42.0 (caseless@0.6.0, json-stringify-safe@5.0.0, forever-agent@0.5.2, aws-sign2@0.5.0, stringstream@0.0.4, oauth-sign@0.4.0, tunnel-agent@0.4.0, qs@1.2.2, node-uuid@1.4.3, mime-types@1.0.2, form-data@0.1.4, http-signature@0.10.1, bl@0.9.4, tough-cookie@0.12.1, hawk@1.1.1)
??? uglify-js@2.4.16 (uglify-to-browserify@1.0.2, async@0.2.10, optimist@0.3.7, source-map@0.1.34)
??? imap@0.8.14 (utf7@1.0.0, readable-stream@1.1.13)
??? sentiment@0.2.3 (async@0.2.10, lodash@1.3.1)
??? feedparser@0.19.2 (array-indexofobject@0.0.1, addressparser@0.1.3, readable-stream@1.0.33, resanitize@0.3.0, sax@0.6.1)
??? express@3.17.2 (basic-auth@1.0.0, merge-descriptors@0.0.2, fresh@0.2.4, cookie@0.1.2, escape-html@1.0.1, range-parser@1.0.2, cookie-signature@1.0.5, media-typer@0.3.0, vary@1.0.0, methods@1.1.0, parseurl@1.3.0, depd@0.4.5, crc@3.0.0, commander@1.3.2, debug@2.0.0, proxy-addr@1.0.1, send@0.9.2, connect@2.26.1)
??? cheerio@0.18.0 (dom-serializer@0.0.1, entities@1.1.1, htmlparser2@3.8.2, CSSselect@0.4.1, lodash@2.4.1)
??? xml2js@0.4.4 (sax@0.6.1, xmlbuilder@2.6.2)
??? cron@1.0.6 (moment-timezone@0.2.4)
??? ws@0.7.1 (options@0.0.6, ultron@1.0.1)
??? irc@0.3.9 (ansi-color@0.2.1, irc-colors@1.1.0)
??? serialport@1.4.10 (bindings@1.2.1, sf@0.1.7, async@0.9.0, nan@1.3.0, optimist@0.6.1)
NAS>

Habt Ihr eine Idee, wie ich weiterkomme?

Beste Grüße
Markus
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat