Question: `private int mShuffleMode = SharedPreferences.getInt("shufflemode");`

Tells me that a Non-static method can't be referenced from a static context.

I'm not entirely sure what this means.

What I'm trying to do is initialise the variable with the preference that was set before.

Answer: 
Try removing the Angular CLI and reinstalling it again:

```
$  npm uninstall @angular/cli
$  npm cache clean
$  npm install -g @angular/cli@latest

```

To ensure you have the latest version. IF the problem persists, try updating the Node version (6.11.4 is a bit old). You can use nvm to update your node version. Download and install the package from [here](https://github.com/coreybutler/nvm-windows), then run

```
$  nvm install 8.9.0 // for example, you can have another version
$  nvm use 8.9.0 // or the version you have installed

```

If this STILL persists, we can assume there is a problem with `@angular/cli`. You can try downgrading it. Remove it again and then

```
$  npm install -g @angular/cli@1.1.2 // for example

```
below command working for me.

```
CMD : npm install @angular-devkit/schematics@0.0.45 @angular/cli --no-save

```