Runtime Error: Cannot find module "ionic-native"


Similar to this post: Uncaught Error: Cannot find module “ionic-native”, I’m getting an Cannot find module “ionic-native” error at run time.

Suggestions in that post have not helped, unfortunately.

I created my project from the standard ionic start < projectname > --v2, and have made no modifications.

my ionic info details are:
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

What am I missing?


Got it working.

I must not have properly run the

npm install @ionic-native/core --save

the first (thousand) times. After running it again, it seems to be working normally.


I cannot make it raunning. I start having this error after importing the “Auth” and “User” classes:

import { HomePage } from './../home/home';
import { Component } from '@angular/core';
import { Auth, User } from '@ionic/cloud-angular';
import { NavController, AlertController, MenuController } from 'ionic-angular';
// Contemplated angular forms but will have to change view and possibly duplicate functions for sign in and sign up
// import { Validator, FormBuilder } from '@angular/forms';
  selector: 'page-login',
  templateUrl: 'login.html'
export class LoginPage {
   constructor(public auth: Auth, public user: User)  {    

This is my configuration:
Ionic Framework: 3.0.1
Ionic Native: ^3.5.0
Ionic App Scripts: 1.3.0
Angular Core: 4.0.0
Angular Compiler CLI: 4.0.0
Node: 7.2.1
OS Platform: macOS Sierra
Navigator Platform: MacIntel
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

As you can see, ionic framework is updated @3.01.
I cannot figure out how to fix this issue.
Can you help please?


Did you include them as providers in your app.module.ts ?