Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin not installing in IOS #776

Closed
matthitachi opened this issue Jul 19, 2018 · 5 comments
Closed

Plugin not installing in IOS #776

matthitachi opened this issue Jul 19, 2018 · 5 comments

Comments

@matthitachi
Copy link

matthitachi commented Jul 19, 2018

ionic cordova plugin add cordova-plugin-firebase
npm install --save @ionic-native/firebase

not working, it just waits for a pretty long time and does not finally install.
i even created a new blank project and tried it but same problem.
Ran npm cache clean --force and updated my npm, still no change.
This is my environment information. Any help would be appreciated.

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : 8.0.0 

local packages:

@ionic/app-scripts : 3.1.6
Cordova Platforms  : ios 4.5.4
Ionic Framework    : ionic-angular 3.9.2

System:

ios-deploy : 1.9.2 
Node       : v8.11.3
npm        : 6.2.0 
OS         : macOS High Sierra
Xcode      : Xcode 9.4.1 Build version 9F2000 

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : pro

config.xml

<plugin name="cordova-plugin-nativegeocoder" spec="^3.0.0" />
 <plugin name="cordova-plugin-network-information" spec="^2.0.1" />
 <plugin name="cordova-sqlite-storage" spec="^2.3.2" />
 <plugin name="cordova-plugin-google-analytics" spec="^1.8.3" />
 <plugin name="cordova-plugin-firebase-analytics" spec="^1.0.0">
     <variable name="FIREBASE_CORE_VERSION" value="16.0.+" />
 </plugin>
 <plugin name="cordova-plugin-headercolor" spec="^1.0.0" />
 <plugin name="cordova-plugin-firebase" spec="^1.0.5" />
 <engine name="android" spec="7.0.0" />

Error:
Failed to restore plugin "cordova-plugin-firebase" from config.xml. You might need to try adding it again. Error: Failed to fetch plugin cordova-plugin-firebase@^1.0.5 via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: npm: Command failed with exit code 1 Error output:
WARN tarball tarball data for cordova-plugin-firebase@^1.0.5 (sha1-s3swFRRnCbvMwN/IGEYZCbOM7Io=) seems to be corrupted. Trying one more time.
WARN tarball tarball data for cordova-plugin-firebase@^1.0.5 (sha1-s3swFRRnCbvMwN/IGEYZCbOM7Io=) seems to be corrupted. Trying one more time.
npm ERR! code EINTEGRITY
npm ERR! Verification failed while extracting cordova-plugin-firebase@^1.0.5:
npm ERR! Verification failed while extracting cordova-plugin-firebase@^1.0.5:
npm ERR! sha1-s3swFRRnCbvMwN/IGEYZCbOM7Io= integrity checksum failed when using sha1: wanted sha1-s3swFRRnCbvMwN/IGEYZCbOM7Io= but got sha512-mujaYm0Rbfjk9F29lpBgQwvKmJN8P08+LFc5pk35b0w4Q9ehgpI2NGn8EercP5mD+CmGHR0RvlagmTP/8CcLnA== sha1-gFPVKdx0sEA2430ige9i24QGl7U=. (5700340 bytes)

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mac/.npm/_logs/2018-07-19T13_57_22_775Z-debug.log

@Flucadetena
Copy link

Have you tried adding it through URL. Some people say that helps with some problems.

@ThonyFD
Copy link

ThonyFD commented Jul 31, 2018

Same issue, and I tried using the url, but doesn't work, some people say that the installation process finish ok after long time #760

@Flucadetena
Copy link

Have you tried to clone it and installed locally? Maybe an older version?

@matthitachi
Copy link
Author

matthitachi commented Aug 1, 2018

Try the
npm install --save @ionic-native/firebase
first before running
ionic cordova plugin add cordova-plugin-firebase

It worked for me.

@soumak77
Copy link
Contributor

install time will be fixed by #672

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants