-
Notifications
You must be signed in to change notification settings - Fork 216
zone-evergreen.js:659 Unhandled Promise rejection: Unable to find context associated with [object SVGSVGElement] #1456
Comments
I got the same issue with my application since I upgraded to Angular9. Augury version (required): 1.25.2 |
Same here with:
|
Same here with:
|
Also Angular 9.0.7/Augury 1.25.2/OS Win10 |
Further notes: this is when using https://www.npmjs.com/package/ngx-bootstrap-icons. It uses svg icons. backend.js:15214 ng.getDirectives(t) throws this error, when being passed the SVG element |
I installed the Augury Canary Build Chrome extension in Chrome and Chrome Canarian, and both, show the same error:
I read this issue and so, I understand Augury doesnt support Angular Ivy (Angular 9). |
My guess is that this is a bug that doesn't handle elements that don't have a Zone context (components or elements with directives on them have zones). |
One more for the pile Angular 1.1.6 |
Same issue, Angular 9.1.3 |
+1 Angular 9.1.11 |
+1 Angular 9.1.11 |
I report also my case Angular: 9.1.2
|
Same issue Angular v9.1.12 |
Same here Angular v10.1.1 |
The solution has been already posted above: #1456 (comment) |
This is not a fix, it's a workaround. |
I'm also getting same. Also the workaround suggested above, does not work as expected for me. |
Same here. |
If you still face this problem, you may notice that NgModules and Router Tree tabs are hidden as well. Disabling Ivy in tsconfig.json solved my issue. Probably, this will be sufficient for you. Go to tsconfig.json -> Look for "angularCompilerOptions" -> set "enableIvy" to false
Explanation: Angular Version: 10.1.4 supports Ivy, yet Augury Version: 1.25.2 does not. Hope this will help you! Happy coding |
Same issue here: Angular CLI: 10.1.7
Node: 12.14.0
OS: linux x64
Angular: 10.1.6
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1001.7
@angular-devkit/build-angular 0.1001.7
@angular-devkit/core 10.1.7
@angular-devkit/schematics 10.1.7
@angular/cli 10.1.7
@schematics/angular 10.1.7
@schematics/update 0.1001.7
rxjs 6.6.3
typescript 4.0.3 Workaround does not allow to see the Router Tree tree & NgModules. |
@somq could you share your devtools screenshot with the message you got? |
@walidBouguima Sorry, I went a bit too fast on this one. You were right. To clarify:
Example /* To learn more about this file see: https://angular.io/config/tsconfig. */
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
"target": "es5",
"module": "es2020",
"lib": ["es2018", "dom"]
},
"angularCompilerOptions": {
"enableIvy": false
}
} Augury |
@somq Happy that your code is working fine and you can inspect your app with Augury! Feel free to give it a thumbs up emoji so others can see that it works when they scroll down 👍 ! |
Same here Angular Version: 10.0.6 @somq when I disable lvy, my dialog component throw errors, such as: 'Angular 10.0.6: no component factory found,did you add it to @NgModule.entryComponents? ', and when I enable lvy, it looks fine. |
Honestly, I'm so sad to say that augury has not helped me anytime whenever I needed it. I don't know why it just not works well as the Vue or React dev extensions. |
I am using Angular v10.2.3 and Augury worked after disabling Ivy.
|
tried this in Angular 11.0.5 and have trouble building the project. |
Same problem! |
-- please install the Augury Canary Build Chrome extension, as this will be used to test any new features or bug fixes.
Augury version (required): 1.25.2
Angular version (required): 9.0.1
Date: 2020-02-14 18:00
OS: win
-- Please make sure you're using the latest version of Augury before reporting an issue.
Demo test application:
-- Git repository for demo app showing the issue (optional but very helpful for difficult issues).
-- If a code snippet will completely show the issue, please include it.
Description of issue:
-- Include (clipped) screenshot images if possible.
++error in component rendering mode --> Hybird view;
"all components" and "components only" mode ok
Steps to reproduce:
Additional details:
other app demo is ok;
Angular version (required):8.2.14;
The text was updated successfully, but these errors were encountered: