Medium / phantomjs

NPM wrapper for installing phantomjs
Other
1.42k stars 435 forks source link

armhf unsurport #658

Open yefeiyu opened 7 years ago

yefeiyu commented 7 years ago

i am wheezy. pls help me

phantomjs-prebuilt@2.1.14 install /home/xu/gh/yefeiyu.github.io/node_modules/phantomjs-prebuilt node install.js

[proxychains] DLL init: proxychains-ng 4.11-git-5-ge527b9e [proxychains] DLL init: proxychains-ng 4.11-git-5-ge527b9e 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 almace-scaffolding@1.0.8 /home/xu/gh/yefeiyu.github.io └── UNMET PEER DEPENDENCY grunt@1.0.1 npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.15: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN grunt-update@0.2.3 requires a peer of grunt@~0.4.2 but none was installed. npm ERR! Linux 2.6.35.3-850-gbc67621 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v7.2.1 npm ERR! npm v4.0.5 npm ERR! code ELIFECYCLE

npm ERR! phantomjs-prebuilt@2.1.14 install: node install.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the phantomjs-prebuilt@2.1.14 install script 'node install.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. 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! /home/xu/gh/yefeiyu.github.io/npm-debug.log

csvan commented 7 years ago

"It seems there is no binary available for your platform/architecture"

There's the problem, your platform is not supported. Not sure if ARM will ever be.

fnoop commented 6 years ago
sudo apt -y install phantomjs
QT_QPA_PLATFORM=offscreen npm install
yefeiyu commented 6 years ago

thank you! I will try it someday.