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

Comments

@AndonMitev
Copy link

@AndonMitev AndonMitev commented May 29, 2019

馃悶 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 comp: core 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

This comment has been minimized.

Copy link

@vdumbrav vdumbrav commented May 31, 2019

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

rangle/augury#714

@sod

This comment has been minimized.

Copy link
Contributor

@sod 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

This comment has been minimized.

Copy link
Author

@AndonMitev 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

This comment has been minimized.

Copy link
Contributor

@trotyl 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

This comment has been minimized.

Copy link
Author

@AndonMitev AndonMitev commented Jun 1, 2019

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

@trotyl

This comment has been minimized.

Copy link
Contributor

@trotyl 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

This comment has been minimized.

Copy link
Author

@AndonMitev AndonMitev commented Jun 1, 2019

Yoo thanks a lot bro!

@kara

This comment has been minimized.

Copy link
Contributor

@kara 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 Jun 3, 2019
@angular-automatic-lock-bot

This comment has been minimized.

Copy link

@angular-automatic-lock-bot angular-automatic-lock-bot bot commented Sep 15, 2019

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.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
7 participants
You can鈥檛 perform that action at this time.