joaoricardo000 / whatsapp-bot-seed

A small python framework to create a whatsapp bot, with regex-callback message routing.
730 stars 243 forks source link

I can't install pageres #92

Open godlikecs12 opened 8 years ago

godlikecs12 commented 8 years ago

I can't install pageres. I'm trying to install the wa bot on a raspberry 3 with raspbian OS. I'm sorry for this kind of question, but i'm new to linux and programming. I tried it with sudo and i've installed Phantomjs.

Here is everything the console gave to me: `pi@raspberrypi:/ $ sudo npm -g install pageres-cli npm WARN engine pageres-cli@3.1.0: wanted: {"node":">=0.12.0"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine pageres@4.1.2: wanted: {"node":">=0.12.0"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine screenshot-stream@3.4.0: wanted: {"node":">=0.12.0"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine deep-extend@0.4.1: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine deep-extend@0.4.1: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine deep-extend@0.4.1: wanted: {"node":">=0.12.0","iojs":">=1.0.0"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine hawk@3.1.3: wanted: {"node":">=0.10.32"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"}) npm WARN engine boom@2.10.1: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.29","npm":"1.4.21"}) |

phantomjs-prebuilt@2.1.12 install /usr/local/lib/node_modules/pageres-cli/node_modules/pageres/node_modules/screenshot-stream/node_modules/phantom-bridge/node_modules/phantomjs-prebuilt node install.js

Considering PhantomJS found at /usr/local/bin/phantomjs Found PhantomJS at /usr/local/bin/phantomjs ...verifying Error verifying phantomjs, continuing { [Error: Command failed: /usr/local/bin/phantomjs: 1: /usr/local/bin/phantomjs: Syntax error: "(" unexpected ] killed: false, code: 2, signal: null } Unexpected platform or architecture: linux/arm It seems there is no binary available for your platform/architecture Try to install PhantomJS globally npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian

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. npm ERR! 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 their info via: npm ERR! npm owner ls phantomjs-prebuilt npm ERR! There is likely additional logging output above.

npm ERR! System Linux 4.1.18-v7+ npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "-g" "install" "pageres-cli" npm ERR! cwd / npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.21 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /npm-debug.log npm ERR! not ok code 0 pi@raspberrypi:/ `