alexnu / IonicFirebaseUI

Sample integration of FirebaseUI into Ionic 2
26 stars 9 forks source link

Error: Cordova-universal-links-plugin is not installed #1

Open aswerdlow935 opened 7 years ago

aswerdlow935 commented 7 years ago

Running this using ionic serve on a desktop browser works fine but when run on Ionic View on IOS an Cordova-universal-links-plugin is not installed shows up even after running the cordova add plugin --save command for that plugin.

billqian99 commented 7 years ago

Hi Alex,

Thanks for this wonderful demo. It helps greatly.

The demo runs properly on browser and Android (emulator). However it seems cordova-universal-links-plugin doesn't work for ios very well. "ionic build ios" gives the following error.

...

cordova prepare ios Error: Cannot find module '../plugman/platforms/ios'

[ERROR] An error occurred while running cordova prepare ios (exit code 1).

Have you seen this before. Appreciate any suggestion to resolve it.

ionic info

cli packages:

@ionic/cli-utils  : 1.12.0
ionic (Ionic CLI) : 3.12.0

global packages:

cordova (Cordova CLI) : 7.0.1 

local packages:

@ionic/app-scripts : 1.3.7
Cordova Platforms  : android 6.2.3 ios 4.5.1
Ionic Framework    : ionic-angular 3.3.0

System:

ios-deploy : 1.9.2 
Node       : v8.2.1
npm        : 5.4.2 
OS         : macOS Sierra
Xcode      : Xcode 9.0 Build version 9A235 

Misc:

backend : legacy

Thanks a million,

Bill

alexnu commented 7 years ago

Hi Bill, glad to be of help.

Actually this is a known issue of cordova-universal-links and I don't know why it's still not fixed. Anyway you can find a temporary solution here.