question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation not working

See original GitHub issue

Installation not working:

https://docs.angularjs.org/error/$injector/modulerr?p0=pay4that&p1=Error: [$injector:modulerr] http:%2F%2Ferrors.angularjs.org%2F1.4.3%2F$injector%2Fmodulerr%3Fp0%3Dion-google-place%26p1%3DError%253A%2520%255B%2524injector%253Anomod%255D%2520http%253A%252F%252Ferrors.angularjs.org%252F1.4.3%252F%2524injector%252Fnomod%253Fp0%253Dion-google-place%250A%2520%2520%2520%2520at%2520Error%2520(native)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A8100%252Flib%252Fionic%252Frelease%252Fjs%252Fionic.bundle.min.js%253A40%253A416%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A8100%252Flib%252Fionic%252Frelease%252Fjs%252Fionic.bundle.min.js%253A58%253A66%250A%2520%2520%2520%2520at%2520a%2520(http%253A%252F%252Flocalhost%253A8100%252Flib%252Fionic%252Frelease%252Fjs%252Fionic.bundle.min.js%253A57%253A109)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A8100%252Flib%252Fionic%252Frelease%252Fjs%252Fionic.bundle.min.js%253A57%253A352%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A8100%252Flib%252Fionic%252Frelease%252Fjs%252Fionic.bundle.min.js%253A71%253A381%250A%2520%2520%2520%2520at%2520m%2520(http%253A%252F%252Flocalhost%253A8100%252Flib%252Fionic%252Frelease%252Fjs%252Fionic.bundle.min.js%253A41%253A322)%250A%2520%2520%2520%2520at%2520g%2520(http%253A%252F%252Flocalhost%253A8100%252Flib%252Fionic%252Frelease%252Fjs%252Fionic.bundle.min.js%253A71%253A229)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A8100%252Flib%252Fionic%252Frelease%252Fjs%252Fionic.bundle.min.js%253A71%253A398%250A%2520%2520%2520%2520at%2520m%2520(http%253A%252F%252Flocalhost%253A8100%252Flib%252Fionic%252Frelease%252Fjs%252Fionic.bundle.min.js%253A41%253A322) at Error (native) at http:%2F%2Flocalhost:8100%2Flib%2Fionic%2Frelease%2Fjs%2Fionic.bundle.min.js:40:416 at http:%2F%2Flocalhost:8100%2Flib%2Fionic%2Frelease%2Fjs%2Fionic.bundle.min.js:72:154 at m (http:%2F%2Flocalhost:8100%2Flib%2Fionic%2Frelease%2Fjs%2Fionic.bundle.min.js:41:322) at g (http:%2F%2Flocalhost:8100%2Flib%2Fionic%2Frelease%2Fjs%2Fionic.bundle.min.js:71:229) at http:%2F%2Flocalhost:8100%2Flib%2Fionic%2Frelease%2Fjs%2Fionic.bundle.min.js:71:398 at m (http:%2F%2Flocalhost:8100%2Flib%2Fionic%2Frelease%2Fjs%2Fionic.bundle.min.js:41:322) at g (http:%2F%2Flocalhost:8100%2Flib%2Fionic%2Frelease%2Fjs%2Fionic.bundle.min.js:71:229) at eb (http:%2F%2Flocalhost:8100%2Flib%2Fionic%2Frelease%2Fjs%2Fionic.bundle.min.js:74:503) at Ac.d (http:%2F%2Flocalhost:8100%2Flib%2Fionic%2Frelease%2Fjs%2Fionic.bundle.min.js:53:339

I added the Google Maps javascript API in my HEAD tag: <script src="http://maps.googleapis.com/maps/api/js?libraries=places&sensor=false"></script>

<link href="lib/ionic-material/dist/ionic.material.min.css" rel="stylesheet">

<link rel="stylesheet" href="lib/ionic-filter-bar/dist/ionic.filter.bar.min.css">

<!-- ionic/angularjs js -->
<script src="lib/ionic/release/js/ionic.bundle.min.js"></script>
<script src="lib/angular-resource/angular-resource.min.js"></script>
<script src="lib/angular-cookies/angular-cookies.min.js"></script>

<!-- angular get-text-->
<script src="lib/angular-gettext/dist/angular-gettext.min.js"></script>

<!-- cordova script (this will be a 404 during development) -->
<script src="lib/ngCordova/dist/ng-cordova.min.js"></script>
<script src="cordova.js"></script>


<!-- angular qrcode -->
<script src="lib/angular-qrcode/angular-qrcode.js"></script>
<script src="lib/qrcode-generator/js/qrcode.js"></script>

<!-- angular material -->
<script src="lib/ionic-material/dist/ionic.material.min.js"></script>

<!-- angular qrcode -->
<script src="lib/angular-payments/lib/angular-payments.min.js"></script>

<script src="lib/ng-cordova-oauth/dist/ng-cordova-oauth.min.js"></script>

<!-- md5 -->
<script src="lib/JavaScript-MD5/js/md5.min.js"></script>

<script src="lib/ionic-filter-bar/dist/ionic.filter.bar.min.js"></script>
<script src="lib/hashids/lib/hashids.min.js"></script>

<script src="http://maps.googleapis.com/maps/api/js?libraries=places&sensor=false"></script>

<!-- your app's js -->

`

I added ion-google-place as a dependency on your Ionic app:

angular.module('pay4that', ['ionic', 'pay4that.controllers', 'ionic-material', 'pay4thatServices', 'gettext', 'ngCookies', 'monospaced.qrcode', 'pay4thatInterceptor', 'angularPayments', 'jett.ionic.filter.bar', 'ngCordovaOauth', 'ion-google-place'])

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
diegobillcommented, Mar 23, 2016

Now is working:

just add ion-google-place on index.html:

<script src="lib/ion-google-place/ion-google-place.js"></script>
<link href="lib/ion-google-place/ion-google-place.css">

This could be included on README

0reactions
Henryisthebestcommented, Sep 3, 2016

I agree too!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to troubleshoot Windows Installer errors - Microsoft Support
Right-click Windows Installer, and then click Properties. If the Startup type box is set to Disabled, change it to Manual. Click OK to...
Read more >
Here's How To Fix Windows Installer Not Working
Press Win + R and type in services.msc to launch Windows Services Manager. · Scroll to Windows Installer and right-click on it, click...
Read more >
Unable to Install Apps or Software on Windows? Here's What ...
1. Reboot Your Computer · 2. Check App Installer Settings in Windows · 3. Free Up Disk Space on Your PC · 4....
Read more >
Windows Installer not working properly in Windows 11/10
2] Start the Windows Installer Service ... In the Run prompt, type MSIExec, and then press Enter. If you get the Windows Installer...
Read more >
Fix Windows Installer Not Working in Windows 10 / 11
Fix Windows Installer Not Working in Windows 10 / 11 · Method 1: Starting msiserver service · Method 2: Tweaking Windows installer properties...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found