wizpanda / cordova-plugin-firebase-lib

This repository is moving & merging to https://github.com/wizpanda/cordova-plugin-firebase-lib to avoid confusion to developers.
https://www.wizpanda.com/
MIT License
68 stars 38 forks source link

Failed to install 'cordova-plugin-firebase-lib': undefined #34

Open toFreshMilk opened 4 years ago

toFreshMilk commented 4 years ago

Describe the bug

im using ionic1, xcode 10.1

after put "cordova platform ios@5.0.1" in terminal

it is shown


Failed to install 'cordova-plugin-firebase-lib': undefined CordovaError: Promise rejected with non-error: 'Version should contain only numbers and dots' at cli.catch.err (/Users/ci/.nvm/versions/node/v8.12.0/lib/node_modules/cordova/bin/cordova:29:15) at at process._tickCallback (internal/process/next_tick.js:189:7)


it can't set ios platform perpectly. also build failed in xcode.

Run cordova plugin list to find out what version of cordova-plugin-firebase-lib you are running with

com.ourcodeworld.preventscreenshots 1.0.0 "Our Code World Prevent Screenshots" com.ourcodeworld.sftpplugin 0.5.0 "Our Code World SFTP Plugin" com.plugin.inca.keypad.IncaKeypadPlugin 0.0.0 "IncaKeypadPlugin" com.plugin.insafe.fido.InsafeFidoPlugin 0.0.0 "InsafeFidoPlugin" com.plugin.xecure.appshield.XecureAppShieldPlugin 0.0.0 "XecureAppShieldPlugin" cordova-plugin-androidx 1.0.2 "cordova-plugin-androidx" cordova-plugin-androidx-adapter 1.1.0 "cordova-plugin-androidx-adapter" cordova-plugin-app-event 1.2.0 "Application Events" cordova-plugin-badge 0.7.2 "Badges" cordova-plugin-compat 1.2.0 "Compat" cordova-plugin-datepicker 0.9.3 "DatePicker" cordova-plugin-device 1.1.3 "Device" cordova-plugin-dialogs 1.2.1 "Notification" cordova-plugin-file 6.0.1 "File" cordova-plugin-file-opener2 2.0.19 "File Opener2" cordova-plugin-file-transfer 1.7.1 "File Transfer" cordova-plugin-firebase-lib 5.1.1 "Google Firebase Plugin" cordova-plugin-inappbrowser 1.5.1-dev "InAppBrowser" cordova-plugin-network-information 1.3.0 "Network Information" cordova-plugin-spinner 1.1.0 "Spinner Plugin" cordova-plugin-splashscreen 3.2.2 "Splashscreen" cordova-plugin-statusbar 2.1.3 "StatusBar" cordova-plugin-vibration 2.1.1 "Vibration" cordova-plugin-whitelist 1.2.2 "Whitelist" cordova-sqlite-storage 3.2.1 "Cordova sqlite storage plugin - cordova-sqlite-storage plugin version" ionic-plugin-keyboard 2.2.1 "Keyboard"

Additional context

Add any other context about the problem here.

Wegetal commented 4 years ago

Use cordova platform add ios@5.0.1 instead of cordova platform ios@5.0.1, i dont think it works without the add, might be wrong obviously

toFreshMilk commented 4 years ago

Use cordova platform add ios@5.0.1 instead of "cordova platform ios@5.0.1", i dont think it works without the add, might be wrong obviously

no,, your advice is wrong abviously...

"add" is correct

sagrawal31 commented 4 years ago

@toFreshMilk did that worked?

toFreshMilk commented 4 years ago

@toFreshMilk did that worked?

not worked..

sagrawal31 commented 4 years ago

@toFreshMilk can you create a sample repository reproducing this issue. Seems to be working fine for me.

hcassar93 commented 4 years ago

I had this same issue. Update cocoapods.