Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

ng.probe is not a function #30737

Closed
AndonMitev opened this issue May 29, 2019 · 9 comments
Closed

ng.probe is not a function #30737

AndonMitev opened this issue May 29, 2019 · 9 comments
Labels
area: core Issues related to the framework runtime freq1: low type: bug/fix
Milestone

Comments

@AndonMitev
Copy link

馃悶 bug report

Description

Hello i update my cli and core to v 8.0.0. After this I init my new application and set Ivy to true. When i type npm start/ng serve to run and open console i see following error: "Uncaught TypeError: ng.probe is not a function"

馃實 Your Environment

My envoirment is set to development

Angular Version:
image

Anything else relevant?
Here i apply img to the issue
image

@matsko matsko added the area: core Issues related to the framework runtime label May 30, 2019
@ngbot ngbot bot added this to the needsTriage milestone May 30, 2019
@ngbot ngbot bot modified the milestones: needsTriage, Backlog May 30, 2019
@vdumbrav
Copy link

@AndonMitev Do you have Augury (Chrome Extension for Angular) ?

rangle/augury#714

@sod
Copy link
Contributor

sod commented May 31, 2019

Yes, augury assumes angular dev mode is active if window.ng exists, but ivy doesn't export probe right now

image

@AndonMitev
Copy link
Author

AndonMitev commented Jun 1, 2019

Yes i have augury but there were no problem until now with it. Yes right i after disable the extension there is no error anymore. Thanks a lot! Do u have any idea how can i use the extension as well?

@trotyl
Copy link
Contributor

trotyl commented Jun 1, 2019

@AndonMitev No, Ivy by design have a different set of debugging APIs, it's up to Augury to add support for Ivy.

@AndonMitev
Copy link
Author

Aww gotchta can u give me some reference to articles / tools for these debugging API's

@trotyl
Copy link
Contributor

trotyl commented Jun 1, 2019

some reference to articles / tools for these debugging API's

No, I don't think there're any useful article nor do I think it can be considered stable.

For learning purpose you can check the source code or some dev doc, but don't be upset when finding it hard to understand. The raw data is directly added to the element and will be something looks like:

image

@AndonMitev
Copy link
Author

Yoo thanks a lot bro!

@kara
Copy link
Contributor

kara commented Jun 3, 2019

@AndonMitev As @trotyl mentioned, we do have separate debugging APIs for Ivy that Augury should use. Once we've finished polishing them / finalizing names, we should have documentation written so you don't have to read the source.

@kara kara closed this as completed Jun 3, 2019
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: core Issues related to the framework runtime freq1: low type: bug/fix
Projects
None yet
Development

No branches or pull requests

7 participants