zone.js v0.11.1: TypeError "Invalid Calling Object" & 'undefined' where a stream was expected Errors in IE11
See original GitHub issue🐞 bug report
Affected Package
zone.js v0.11.1
Is this a regression?
Yes, v0.10.3 does not have this issue
Description
When trying to open an Angular application within IE11, this exception is thrown and the browser really does not tell you anything useful. I basically got lucky as I discovered this only happened after updating dependencies, and was able to narrow it down to zone.js.
🔬 Minimal Reproduction
I have tried making a repro, but StackBlitz does not even work in IE11 at all. I believe the issue stems from making calls with HttpClient, though. I wish that I could provide more information here.
🔥 Exception or Error
ERROR TypeError: Invalid calling object
"ERROR"
{
[functions]: ,
__proto__: { },
description: "Invalid calling object",
message: "Invalid calling object",
name: "TypeError",
number: -2147418113,
stack: "TypeError: Invalid calling object
at scheduleTask (http://localhost:4201/polyfills-es5.js:15404:9)
at scheduleTask (http://localhost:4201/polyfills-es5.js:12549:15)
at onScheduleTask (http://localhost:4201/polyfills-es5.js:12436:9)
at scheduleTask (http://localhost:4201/polyfills-es5.js:12544:13)
at scheduleTask (http://localhost:4201/polyfills-es5.js:12294:13)
at scheduleMacroTask (http://localhost:4201/polyfills-es5.js:12325:11)
at scheduleMacroTaskWithCurrentZone (http://localhost:4201/polyfills-es5.js:12955:5)
at Anonymous function (http://localhost:4201/polyfills-es5.js:15456:13)
at proto[name] (http://localhost:4201/polyfills-es5.js:13319:11)
at Anonymous function (http://localhost:4201/vendor.js:39494:5)",
Symbol()_8.tzdmwasjaqy: undefined,
Symbol(INITIAL_VALUE)_j.tzdmwasjakg: undefined,
Symbol(nodejs.util.inspect.custom)_k.tzdmwasjakg: undefined,
Symbol(rxSubscriber)_i.tzdmwasjakg: undefined
}
ERROR TypeError: You provided 'undefined' where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.
"ERROR"
{
[functions]: ,
__proto__: { },
message: "You provided 'undefined' where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.",
name: "TypeError",
stack: "TypeError: You provided 'undefined' where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.
at subscribeTo (http://localhost:4201/vendor.js:232505:1)
at innerSubscribe (http://localhost:4201/vendor.js:219250:4)
at error (http://localhost:4201/vendor.js:222695:5)
at _error (http://localhost:4201/vendor.js:218653:3)
at error (http://localhost:4201/vendor.js:218622:5)
at _trySubscribe (http://localhost:4201/vendor.js:217811:7)
at subscribe (http://localhost:4201/vendor.js:217784:5)
at call (http://localhost:4201/vendor.js:225367:3)
at subscribe (http://localhost:4201/vendor.js:217782:5)
at call (http://localhost:4201/vendor.js:222654:3)",
Symbol()_8.tzdmwasjaqy: undefined,
Symbol(INITIAL_VALUE)_j.tzdmwasjakg: undefined,
Symbol(nodejs.util.inspect.custom)_k.tzdmwasjakg: undefined,
Symbol(rxSubscriber)_i.tzdmwasjakg: undefined
}
🌍 Your Environment
Angular Version:
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 10.0.8
Node: 14.4.0
OS: win32 x64
Angular: 10.0.14
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.1000.8
@angular-devkit/build-angular 0.1000.8
@angular-devkit/build-optimizer 0.1000.8
@angular-devkit/build-webpack 0.1000.8
@angular-devkit/core 10.0.8
@angular-devkit/schematics 10.0.8
@angular/cdk 10.1.3
@angular/cli 10.0.8
@angular/material 10.1.3
@ngtools/webpack 10.0.8
@schematics/angular 10.0.8
@schematics/update 0.1000.8
rxjs 6.6.2
typescript 3.9.7
webpack 4.43.0
Anything else relevant? This is specific to Internet Explorer 11
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Invalid calling Object on IE and - Angular 7 and Spring
Hi im usung Angular 7 and im getting error "Invalid calling object" when i try to make an http request. The app works...
Read more >you provided 'undefined' where a stream was expected ...
You provided an invalid object where a stream was expected. You can provide an Observable, Promise, Array, or Iterable. The error is actually...
Read more >Why Is This "Invalid Calling Object" Error
zone.js v0.11.1: TypeError "Invalid Calling Object" & 'undefined' where a stream was expected Errors in IE11 #38669. Closed. JaxonWright.
Read more >Open Source Used In webexdevhub 1.0.0
This document contains licenses and notices for open source software used in this product. With respect to the free/open source software listed in...
Read more >Release Notes | Firebase - Google
functions.logger.error now always outputs an error object and is included in ... Adds the ability for the Firebase CLI to automatically detect the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
rolling back zone to 0.10.3 resolved this issue for me
Please use the new released
0.11.2
, this issue should be gone.