title: Runtime error:cannot find module "ionic-framework/ionic"
body: <p>I am learning angular2/ionic2 and I am trying to learn by creating small apps. This time I wanted to create an app to open an webpage (url). I got error (CANNOT FIND PLATFORM) and solved with help from Stack Overflow.</p>
  
  <p>The app is successfully build but I could not run the app in real device. I am just getting a blank white screen. When I run ionic serve, I am getting runtime error. I have added my .ts file.</p>
  
  <p>Home.ts</p>
  
  <pre><code>import {Page} from 'ionic-framework/ionic';
  import { Platform } from 'ionic-angular';
  
  declare var cordova:any;
  
  @Page({
  selector: 'page-home',
  templateUrl: 'home.html'
  })
  export class HomePage {
  constructor(public platform: Platform) {
  platform = platform;
  
  }
  
  launch(url) {
  this.platform.ready().then(() =&gt; {
  cordova.InAppBrowser.open(url, "_system", "location=true");
  });
  
  }
  
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/QuOXJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QuOXJ.png" alt="enter image description here"></a></p>
  
  <p>app.module.ts</p>
  
  <pre><code>  import { NgModule, ErrorHandler } from '@angular/core';
    import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
    import { MyApp } from './app.component';
    import { AboutPage } from '../pages/about/about';
    import { ContactPage } from '../pages/contact/contact';
    import { HomePage } from '../pages/home/home';
    import { TabsPage } from '../pages/tabs/tabs';
  
    @NgModule({
    declarations: [
    MyApp,
    AboutPage,
    ContactPage,
    HomePage,
    TabsPage
    ],
    imports: [
    IonicModule.forRoot(MyApp)
    ],
    bootstrap: [IonicApp],
    entryComponents: [
    MyApp,
    AboutPage,
    ContactPage,
    HomePage,
    TabsPage
    ],
    providers: [{provide: ErrorHandler, useClass: IonicErrorHandler}]
    })
    export class AppModule {}
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/QuOXJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QuOXJ.png" alt="enter image description here"></a></p>