okonek / tidal-cli-client

You can now use Tidal on linux. With your loved CLI. <3
MIT License
272 stars 29 forks source link

Still getting syntax error #26

Closed HowBoutSomeSnus closed 6 years ago

HowBoutSomeSnus commented 6 years ago

/usr/lib/node_modules/tidal-cli-client/app/index.js:7 (async () => { ^

SyntaxError: Unexpected token ( at createScript (vm.js:56:10) at Object.runInThisContext (vm.js:97:10) at Module._compile (module.js:549:28) at Object.Module._extensions..js (module.js:586:10) at Module.load (module.js:494:32) at tryModuleLoad (module.js:453:12) at Function.Module._load (module.js:445:3) at Module.runMain (module.js:611:10) at run (bootstrap_node.js:387:7) at startup (bootstrap_node.js:153:9)

okonek commented 6 years ago

What version of node have you got?

HowBoutSomeSnus commented 6 years ago

How do I check that?

okonek commented 6 years ago

You type node -v in the terminal

HowBoutSomeSnus commented 6 years ago

v6.14.1

okonek commented 6 years ago

That means you should update Node.

HowBoutSomeSnus commented 6 years ago

And how would I go about that? Mind you I haven't installed node manually, and have no idea what it even is. I'm using Ubuntu 16.04. Is a new version in a repo I can add or something?

okonek commented 6 years ago

I don't know how to update node in Ubuntu. I think you should google it.

HowBoutSomeSnus commented 6 years ago

Hey it worked! I now have node version 9.10 and it's working. Thank you. Just another thing while this is open; is there any way to control volume inside the client? And any recommendations on a good terminal? Because the images and stuff looks messed up in gnome terminal.

okonek commented 6 years ago

I plan adding volume control inside the app. About terminal, I would suggest you using urxvt. It's a very cutomizable and lightweight terminal. But speaking of your terminal. Could you please send a screenshot of this 'messed' stuff? Thanks.

HowBoutSomeSnus commented 6 years ago

Nice about the volume control being added. I tried urxvt, and it worked just fine, but how do I customize it? Config file? Anyways here's the screenshot: https://imgur.com/a/NVxT9 It seems to be half-transparent or something, as I can see some of my desktop poking through. Thank you for your help and the awesome app.

okonek commented 6 years ago

The problem from screenshot is actually a w3m-img fault, but it's the only way to display images in terminal. You can customize urxvt with .Xresources file in your home directory. Here are some great configs. You'll find something for you. https://github.com/AntSunrise/URxvt-themes You can also edit them to fit your needs.

HowBoutSomeSnus commented 6 years ago

Ah, I see. Thank you for the tips.