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: 
below command working for me.

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

```
On angular/cli 1.6.4 I was getting "Error: dryRunSink.commit(...).ignoreElements is not a function"

The newest version has it fixed on @angular/cli: 1.6.5, you can check it out by installing it by running the following:

```
npm uninstall @angular/cli
npm install -g @angular/cli@latest

```

be sure to install the dev so you can run things like npm start(ng serve) and run your proyect by installing:

```
npm install --save-dev @angular/cli@latest

```

Worked great for me.