Closed kittycatbytes closed 7 years ago
me too ,any help,thank you!!!!!!
I'm having the same issue with Angular 4.1.0
If/When a fix or code issue is found that causes this please share. I have no idea what the problem is with this.
I got this error, (May be useful for you)
Unhandled Promise rejection: Cannot read property 'injector' of null ; Zone:
Hey @kittycatbytes would you be able to create a demo repo so that we can reproduce this problem?
I'm so sorry, I was able to fix it but I cannot remember exactly what I did - it was a while ago now. Essentially you can get this error it seems if you have not set up the basics correctly. I wish I had captured more info on this when I resolved it. Hopefully one of the other users experiencing this issue can shed more light.
@kittycatbytes when referencing the error do you mean the error that @bheda91 has or the error that this is not an angular application? I am inheriting a project in the middle of an upgrade. What basics should I go over to fix this?
This began happening to me today. If you close the dev tools and reopen, the extension resumes working correctly, but it quickly breaks again. Let me know if I can provide any info that would be helpful.
Having same issue. Just installed Augury. Does not detect an angular app.
@mitchellzen @sss4r Any chance you have a public repo where this happens? I'll look into immediately if I can reproduce it.
Mine detected the app for the first time, but won't recognise it after a reload. [UPDATE] If I close the developer tools, open my app, open developer tools and run augury then it's recognised.
Occasionally when I reload and try to get Augury to reload I also see this
Object {message: "The message port closed before a reponse was received."}message: "The message port closed before a reponse was received."proto: Object (anonymous) @ content-script.js:5099
Can't help but wonder if this is part of the problem to Augury not identifying the application as Angular.
This is happening to me too. [Probably you don't need to download this, but i will add the oportunity] One simple way to reproduce it in this repository is:
DecimalesPipe,
If this is your case, probably, you are making changes in multiple files at the same time while application keep refreshing. So, in one moment between those changes, angular could fire an error, Augury shows the message, and the application make a last refresh after the last change you do. But Augury doesn't refresh again.
And makes sense because the proposed solution of refreshing Augury works.
Augury version: 1.14.0 Angular version: 4.3.1 (Yes, i know it's expected to work with angular 2, but i didn't know if this is your exact problem or not...) Chrome version: 59.0.3071.115 (Build oficial) (64 bits) OS: It says Ubuntu 16.10 but i'm using Xubuntu.
I hope this helps.
I was having the same issues with Chrome Canary. Updating Chrome seems to have fixed the issue. Issue was with Version 62.0.3175.2 now works on Version 62.0.3175.3
I hope this helps.
Updating to chrome dev 62.0.3175.3 did not help me on win10 64bit. Even after restart of the browser!
Same problem here. I use linux.
I had the same issue for a bit on my Mac. Then I killed Chrome instance and open another one. Problem solved
is there any fix for this? on a Mac + Chrome 61.0.3163.100, I need to open new instances constantly. The extension is only usable once per tab instance
there could be some problems with nested modules (lazy loaded ones)... I've modified my application to lazyload the modules and now agury doesnt work...
Doesn't work at all with my Angular 1 application. I've never used Augury before so my first impression is not good.
@mikek65 It's not made for AngularJS (1), only for Angular (2+).
I suspected as much, but I did not see anything about that in the docs anywhere. I feel like these days many just assume that all Angular development is happening in 2+, which makes no sense to me.
@mikek65 It's literally in the description of the project: "Augury is a Google Chrome Dev Tools extension for debugging Angular 2+ applications."
And again in the very next section: "Augury only works with Angular 2+ applications."
That's a fair point, it's on the main page. Which I never saw. I went straight to the Guides, after downloading it from the Chrome store. There is no mention of 2+ in either of those places.
... Which is definitely also a fair point. I tend to forget that not everyone uses Github as a primary search engine 😊
Solution for "This application is not an Angular application"
@LetHerRip THX
Anyone who is still having this issue: can you try using the Canary Build ? Does the problem persist there, or is it resolved for you?
I have this issue on an angular 1.6.4 app.
@AllanD - I'm sorry but Augury is for Angular 2+ applications only and does not work with AngularJS. There are a few similar DevTools for AngularJS you could try out instead.
Augury version (required): 1.7.0 Angular version (required): 2.4.8 Date: 5/3/2017 OS: Windows
Description of issue: When testing my angular app when I launch Augury I get the error "This application is not an Angular application"
Steps to reproduce: