Code Monkey home page Code Monkey logo

ERROR in ./node_modules/angular-google-tag-manager/fesm2015/angular-google-tag-manager.mjs 32:30-36 Can't import the named export 'Inject' from non EcmaScript module (only default export is available) about angular-google-tag-manager HOT 8 CLOSED

sandirr avatar sandirr commented on July 24, 2024
ERROR in ./node_modules/angular-google-tag-manager/fesm2015/angular-google-tag-manager.mjs 32:30-36 Can't import the named export 'Inject' from non EcmaScript module (only default export is available)

from angular-google-tag-manager.

Comments (8)

ToStr1 avatar ToStr1 commented on July 24, 2024 2

Thanks for the info @mzuccaroli. Using the correct version fixed the issue on my end. Wasn't aware of the compatibility requirements. Thanks a lot :)

from angular-google-tag-manager.

mzuccaroli avatar mzuccaroli commented on July 24, 2024 1

sorry for the late reply but I'm the only mantainer , wich version of the library are you using?

@ToStr1 for angular 11 you must use old version of the library 1.3.X

you can check your angular version and the related release here: https://github.com/mzuccaroli/angular-google-tag-manager/releases
and check the available releases here: https://www.npmjs.com/package/angular-google-tag-manager

from angular-google-tag-manager.

VamsiKWilco avatar VamsiKWilco commented on July 24, 2024 1

Version 1.0.0 installed successfully and working as expected.

Thanks @mzuccaroli

from angular-google-tag-manager.

sandirr avatar sandirr commented on July 24, 2024

Anyone can help? please!

from angular-google-tag-manager.

ToStr1 avatar ToStr1 commented on July 24, 2024

Running into the same issue while upgrading to Angular 11

from angular-google-tag-manager.

Aishwaryakakade avatar Aishwaryakakade commented on July 24, 2024

I am experiencing the same issue.

from angular-google-tag-manager.

VamsiKWilco avatar VamsiKWilco commented on July 24, 2024

Hi @mzuccaroli ,

I used following versions:
"angular-google-tag-manager": "^1.2.4", and
"angular-google-tag-manager": "^1.6.0"

I'm facing the error, Does this library supports Angular: 8.2.X ?

Kindly let us know.

Thanks in advance,
Vamsi K

from angular-google-tag-manager.

mzuccaroli avatar mzuccaroli commented on July 24, 2024

No, it has been developed with angular 9, you can try1.0.0 version but officiale support statrs with angular 9

from angular-google-tag-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.