Ionic 3 Error "Is platform module (BrowserModule) included?"

Hi everybody,

I have the same problem as described in Ionic 3 Error.

I’ve already tried to remove npm, ionic and cordova completely with a fresh install.

ionic info

Cordova CLI: 6.5.0 
Ionic Framework Version: 3.0.1
Ionic CLI Version: 2.2.2
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.0
ios-deploy version: Not installed
ios-sim version: Not installed 
OS: Linux 4.4
Node Version: v6.10.2
Xcode version: Not installed

How I upgraded from ionic 2 to ionic 3: https://www.youtube.com/watch?v=oQJMUOznMrA

I’ve included the BrowserModule and ErrorHandler in my app.module.ts like this

import { ErrorHandler, NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';

imports: [
    BrowserModule,
    IonicModule.forRoot(MyApp)
],

providers: [
    { provide: ErrorHandler, useClass: IonicErrorHandler }
]

But it won’t work.

Even in a blank starter template (-v3) it won’t work).

The error is allways the same:

Need some help :pensive:

Best,
Unkn0wn0x

Okay, I found the problem…

I was allways testing under 127.0.0.1:8100. There was a old state of my app. Now I’ve changed it to localhost:8100 and it works.

Really strange…