Migration from Angular 2 to Ionic 2

Hello !

I start developing with ionic is there a way to install all necessary file to an existing Angular2 project ?

If I add

import {App, IonicApp, Platform} from “ionic/ionic”;

I just receive an error

The Broccoli Plugin: [BroccoliTypeScriptCompiler] failed with:
Error: Typescript found the following errors:
/Users/macdev/cvsroot/prive-expertise/tmp/broccoli_type_script_compiler-input_base_path-EmaPvlCU.tmp/0/src/app/app.component.ts (2, 39): Cannot find module ‘ionic/ionic’.
at BroccoliTypeScriptCompiler._doIncrementalBuild (/Users/macdev/cvsroot/prive-expertise/node_modules/angular-cli/lib/broccoli/broccoli-typescript.js:120:19)


1 Like

Hi @boxsters, have you solved it and can share a solution with us?