J'ai un projet angulaire-cli. J'ai aussi ajouté du rythme. Je l'ai ajouté à l'intérieur de l'en-tête dans index.html <script src="assets/lib/pace/pace.min.js"></script>
. Cela fonctionne correctement en chrome, mais dans IE-11, j'obtiens l'erreur suivante:Pace.js ne fonctionne pas dans IE 11
ERROR TypeError: Invalid calling object
stack: "TypeError: Invalid calling object
at scheduleTask (http://localhost:4200/polyfills.bundle.js:8607:13)
at ZoneDelegate.prototype.scheduleTask (http://localhost:4200/polyfills.bundle.js:6279:21)
at DELEGATE_ZS.onScheduleTask (http://localhost:4200/polyfills.bundle.js:6169:13)
at ZoneDelegate.prototype.scheduleTask (http://localhost:4200/polyfills.bundle.js:6273:17)
at Zone.prototype.scheduleTask (http://localhost:4200/polyfills.bundle.js:6104:17)
at Zone.prototype.scheduleMacroTask (http://localhost:4200/polyfills.bundle.js:6127:13)
at Anonymous function (http://localhost:4200/polyfills.bundle.js:8637:17)
at proto[name] (http://localhost:4200/polyfills.bundle.js:7142:17)
at Anonymous function (http://localhost:4200/vendor.bundle.js:63666:13)
at Observable.prototype._trySubscribe (http://localhost:4200/vendor.bundle.js:4172:13)",
Symbol(observable)_h.fo48yw1o6i8: undefined,
Symbol(rxSubscriber)_g.fo48yw1o6i8: undefined
Qu'est-ce que je fais mal?
Merci de poster cette question - je aussi eu cette erreur, mais après la mise à niveau mon application angulaire, et pour la vie de moi ne pouvais pas savoir où ça venait de. –