okonek / tidal-cli-client

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

Cannot start the app #8

Closed lucaam closed 6 years ago

lucaam commented 6 years ago

Hello dear,

I'm not able to start the app. Used npm to install it.

I've got node and mpv.

This is the error that I receive.

PS: I'm on Ubuntu Boogie based on Ubuntu 17.10. Node version v6.11.4, npm version 3.5.2

/usr/local/lib/node_modules/tidal-cli-client/app/Track.js:8
    async updateStreamURL(tidalApi) {
          ^^^^^^^^^^^^^^^

SyntaxError: Unexpected identifier
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/tidal-cli-client/app/TidalApi.js:2:15)
iskyd commented 6 years ago

Same here on ubuntu 16.04 node version: 6.12.3 npm version: 3.10.10

seljudas commented 6 years ago

Same here, using Ubuntu 16.04, node 6.12.3 and npm 5.6.0. Installed through npm -g i tidal-cli-client@latest.

okonek commented 6 years ago

You should update your Node, cause 6.xxx does not support async/await.

okonek commented 6 years ago

Can I mark it as closed?

jtellnes commented 6 years ago

I had the same problem until I discovered that I had node version 6 while nodejs was version 9.5 ...

Removing both node and nodejs and then reinstalling nodejs solved it. (Before this I was, for some reason, also able to run tidal-cli with sudo)

https://stackoverflow.com/questions/18130164/nodejs-vs-node-on-ubuntu-12-04