NEWS
Phantom.js lässt sich nicht auf aktuellem System installieren…
-
Hallo,
habe folgendes Problem: Sowohl vom Admin aus als auch von der Konsole kann ich phantom.js nicht installieren.
Hier mal ein paar Meldungen:
root@bananapim2:~# sudo npm install iobroker.phantomjs-prebuilt –production
npm ERR! Linux 4.6.3-sunxi
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.phantomjs-prebuilt" "--production"
npm ERR! node v5.12.0
npm ERR! npm v3.8.6
npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/iobroker.phantomjs-prebuilt
npm ERR! 404
npm ERR! 404 'iobroker.phantomjs-prebuilt' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! Please include the following file with any support request:
npm ERR! /root/npm-debug.log
root@bananapim2:~# sudo npm install iobroker.phantomjs --production
phantomjs-prebuilt@2.1.12 install /root/node_modules/phantomjs-prebuilt
node install.js
PhantomJS not found on PATH
Unexpected platform or architecture: linux/arm
It seems there is no binary available for your platform/architecture
Try to install PhantomJS globally
npm WARN enoent ENOENT: no such file or directory, open '/root/package.json'
npm WARN root No description
npm WARN root No repository field.
npm WARN root No README data
npm WARN root No license field.
npm ERR! Linux 4.6.3-sunxi
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.phantomjs" "--production"
npm ERR! node v5.12.0
npm ERR! npm v3.8.6
npm ERR! code ELIFECYCLE
npm ERR! phantomjs-prebuilt@2.1.12 install:
node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the phantomjs-prebuilt@2.1.12 install script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the phantomjs-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs phantomjs-prebuilt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls phantomjs-prebuilt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /root/npm-debug.log
Kann hier jemand was damit anfangen?
ach ja, unter raspi2 und jessie das Gleiche.... liegt also nicht am armbian...
Gruß
PS alles andere läuft seit Wochen super. BS: Armbian, aktuellste Version.
-
Du hast node v5.12 und npm 3.8.6
Ob nodejs 5.xx problemlos läuft, weiss ich nicht, aber es wird 4.5 empfohlen.
Auf jeden Fall macht npm v3.xx Probleme. Hier soll v2.xx verwendet werden.
Gruß
Rainer
-
Hallo Hormoran,
vielen Dank.
Aber ich werde nicht downgraden. Da ist wohl der Entwickler am Zug…
Ansonsten sehe ich mich nach Alternativen um.
P.S.: Sinnvoll wäre, phantom hier aus dem Admin herauszunehmen, solange nicht aktuell...
-
Die Installation klappt nicht, weil es keine Binärversion für ARM gibt.
http://phantomjs.org/download.html
Wenn man sich die Hardwareanforderungen anschaut sollte dies verständlich sein, warum nicht
[emoji6]
http://phantomjs.org/build.html
Gesendet von meinem GT-N8000 mit Tapatalk