Arun-
Arun-

Reputation: 865

Cannot find module "ionic-native" - Trying out Facebook Native Authentication

I am very new to Ionic 2 and have been breaking my head into trying out native Facebook login authentication, I have tried few approaches below, and got no where !

Can some one please direct me to a correct approach ??.

Pasted the error log below.

Runtime Error Cannot find module "ionic-native" Stack

Error: Cannot find module "ionic-native" at Object. (//localhost:8100/build/main.js:55660:7) at webpack_require (//localhost:8100/build/main.js:20:30) at Object. (//localhost:8100/build/main.js:74450:77) at webpack_require (//localhost:8100/build/main.js:20:30) at Object. (//localhost:8100/build/main.js:74188:73) at webpack_require (//localhost:8100/build/main.js:20:30) at Object. (//localhost:8100/build/main.js:111876:70) at webpack_require (//localhost:8100/build/main.js:20:30) at //localhost:8100/build/main.js:66:18 at //localhost:8100/build/main.js:69:10

Ionic Framework: 3.2.1 Ionic Native: ^3.5.0 Ionic App Scripts: 1.3.7 Angular Core: 4.1.0 Angular Compiler CLI: 4.1.0 Node: 6.10.2 OS Platform: Windows 10 Navigator Platform: Win32 User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

Upvotes: 0

Views: 1428

Answers (1)

Luciel Costa
Luciel Costa

Reputation: 11

As was suggested by misha130 in a comment, I used

npm install --save [email protected] 

and it worked.

Upvotes: 1

Related Questions