mtoygar / ember-cli-google-tag-manager

Ember addon to install and configure GoogleTagManager in your app
MIT License
1 stars 7 forks source link

Uncaught TypeError: container.lookupFactory is not a function #3

Closed juanjobbio closed 4 years ago

juanjobbio commented 6 years ago

At /addon/instance-initializers/gtm.js I'm getting this error

screenshot 2018-10-24 at 10 05 16

Apparently var container = application.container; is undefined

jakenorthey commented 6 years ago

This is patched in the fork below: https://github.com/demirhanaydin/ember-cli-google-tag-manager

yarn remove ember-cli-google-tag-manager yarn add demirhanaydin/ember-cli-google-tag-manager

broerse commented 5 years ago

@jacobnorthey can you make PR for this?

jakenorthey commented 5 years ago

https://github.com/Scalingo/ember-cli-google-tag-manager/pull/4

broerse commented 5 years ago

Thanks!