Error adding Ionic-Platform-web-client

Asked

Viewed 26 times

0

I have a perfectly functioning Ionic project. These are the versions I’m using:

  • Cordova CLI: 5.3.3
  • Gulp version: CLI version 3.9.1
  • Gulp local: Local version 3.9.1
  • Ionic CLI Version: 1.7.14
  • Node: v4.2.1
  • Ionic Bower: 1.3.1

However when adding the plugin $ bower install --save ionic-platform-web-client, I have the following error:

vendor.min.js:33 Uncaught Typeerror: Cannot read Property 'get' of Undefined

Uncaught Referenceerror: Ionic is not defined

Strange that this happens just by adding the library, I’m still not using it anywhere.

What could that be?

  • https://github.com/driftyco/ionic-platform-web-client/issues/10

  • I figured out the problem. I’m using a custom structure for the lib thus the Automatic Code Modification didn’t work. Thanks for the help.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.