okonek / tidal-cli-client

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

ERR Code 128 #38

Closed asdfghjz closed 6 years ago

asdfghjz commented 6 years ago

First Error:

user@Tidal-2:~$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -

## Installing the NodeSource Node.js 10.x repo...

## Populating apt-get cache...

+ apt-get update
Ign:1 http://deb.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org stretch/updates InRelease
Hit:3 http://deb.debian.org/debian stretch Release                             
Hit:5 http://deb.qubes-os.org/r4.0/vm stretch InRelease                        
Reading package lists... Done                      

## Confirming "stretch" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_10.x/dists/stretch/Release'

## Adding the NodeSource signing key to your keyring...

+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
OK

## Creating apt sources list file for the NodeSource Node.js 10.x repo...

+ echo 'deb https://deb.nodesource.com/node_10.x stretch main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_10.x stretch main' >> /etc/apt/sources.list.d/nodesource.list

## Running `apt-get update` for you...

+ apt-get update
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease                           
Hit:3 http://deb.debian.org/debian stretch Release                             
Hit:5 http://deb.qubes-os.org/r4.0/vm stretch InRelease                       
Get:6 https://deb.nodesource.com/node_10.x stretch InRelease [4,612 B]
Get:7 https://deb.nodesource.com/node_10.x stretch/main amd64 Packages [763 B]
Fetched 5,375 B in 1s (5,133 B/s)
Reading package lists... Done

## Run `sudo apt-get install -y nodejs` to install Node.js 10.x and npm
## You may also need development tools to build native addons:
     sudo apt-get install gcc g++ make
## To install the Yarn package manager, run:
     curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
     echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
     sudo apt-get update && sudo apt-get install yarn

user@Tidal-2:~$ sudo apt-get install -y nodejs

After executing the above I downloaded mvp and w3c with the debian package manager. They appear to be successful (idk how to check)

Nodejs appears to have successfully downloaded.

I also get:

:~$ sudo npm -g i tidal-cli-client@latest
npm ERR! code 128
npm ERR! Command failed: /usr/bin/git submodule update -q --init --recursive
npm ERR! fatal: Could not change back to '/root/.npm/_cacache/tmp/git-clone-52eecca9': Permission denied
npm ERR! 

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-08-13T19_54_11_040Z-debug.log

And this:

user@Tidal-2:~$ tidal-cli
bash: tidal-cli: command not found

I'm running Qubes OS Debian Template. I couldn't find the "SENTRY" Issue Reporter.

okonek commented 6 years ago

It's not a problem with my app, but with npm. I suggest you install the latest npm first using "npm -g i npm". Anyway I'm closing this issue, because it's not related to my app.