Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have just installed fb-messenger-cli on Debian.
When I run it I get this error output:
[CODE$]fb-messenger-cli
/usr/local/lib/node_modules/fb-messenger-cli/cli.js:16
crypt.load((err, data) => {
^
SyntaxError: Unexpected token >
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3[/CODE]
The install seemed to go fine, I checked and node is version 0.10.29 and npm 1.4.21.
I heard there is an issue with Debian naming "node" "nodejs" but really don't know about this.
Based on error message, the issue is relative to installation, it can't load crypt java script.
Where do you get fb-messageer-cli packet, from Debian or third party?
I checked the fb-messenger.cli page at: https://github.com/Alex-Rose/fb-mess...master/scripts
and also the readme.d file in the fb-messenger-cli package that I have installed and, as far as I can tell, there seems not to be other dependencies besides nmp, nodejs and curl, which are all installed.
1 - upgraded system to Buster (I was using a fresh Stretch install)
2 - # curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
3 - # apt-get install -y nodejs
4 - # apt-get install -y build-essential
5 - # npm install -g fb-messenger-cli
6 - # fb-messenger-cli
For those not familiar with it, fb-messenger-cli allows to use Facebook Messenger on the terminal, which is handy for me since my favorite web browser is Luakit, which,as many other lightweight browsers, does not render the frame of the chat windows very nicely.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.