cordova-plugin-googlemaps: Unable to Install cordova-plugin-googlemaps

I’m submitting a … (check one with “x”)

  • question
  • any problem or bug report
  • feature request

If you choose ‘problem or bug report’, please select OS: (check one with “x”)

  • Android
  • iOS

cordova information: (run $> cordova plugin list)

Error: Failed to fetch plugin cordova-plugin-googlemaps@^2.2.8 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:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for cordova-plugin-googlemaps@^2.2.8
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)

Current behavior: I am unable to install the plugin. Can you please help me out?

Expected behavior:

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (3 by maintainers)

Most upvoted comments

I had the same problem … I already had a project on Android developed on Windows 10 and I was now working on Mac for iOS. When I wanted to add the platform (sudo ionic cordova platform add ios) I had this problem … I tried many things but the problem was that I added “sudo” in the command line. Removing “sudo” gave me permission errors in the platforms / ios directory, so I gave it read / write permissions and ran the command again … This was what worked for me, I hope it serves the one who has this problem