TS2307: Cannot find module 'ionic/ionic'


When trying to use tsc with my ionic2 project, i am getting the following error on a typescript file.

The Error:
TS2307: Cannot find module 'ionic/ionic'

The Code:

import {Page} from "ionic/ionic" //error happens on this line

  templateUrl: 'app/list/list.html',
export class ListPage {
  constructor() {}

My tsconfig.json file:

  "compilerOptions": {
    "target": "ES5",
    "module": "commonjs",
    "sourceMap": true,
    "isolatedModules": true,
    "noEmitOnError": false,
    "rootDir": ".",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true
  "compileOnSave": false

My npm -g list:


My Stackoverflow Post

Similar Ionic forum post


Have you tried to update the webpack.config.js?

resolve: {
alias: {
  'ionic': 'ionic-framework',
  'web-animations.min': 'ionic-framework/js/web-animations.min',
extensions: ["", ".js", ".ts"]

I had the same issue too. Either you add the ionic alias like the above or you do import {Page} from "ionic-framework/ionic"

UPDATE: see also this


I am also facing same issue,
but following is working fine

import {Page} from 'ionic-framework/ionic';
and below one not.
import {NavController} from 'ionic/ionic'


if you have latest version ionic cli then you should import from


I have tried like following and its working fine.

export class Signup{
            static get parameters(){
                    return [[NavController]];

This is correct, right?