-
Notifications
You must be signed in to change notification settings - Fork 62
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Vue warn]: Property ("_isVue" | "constructor") was accessed during render but is not defined on instance. #996
Comments
Hello @ordago, Thank you for reporting this with all the detailed information. We'll work on it soon. |
Hey @ordago, we just published @honeybadger-io/vue@4.9.1 that should fix this! |
Hi @subzero10!, I've updated to the latest version and now instead of
Stacktrace points to the same line:
honeybadger-js/packages/vue/src/vue-debug.js Lines 51 to 58 in 7766fbe
The warning appears several times on the console. All pointing to the same line. If I edit to make it check for existence, it throws it only once.
I've tried to make a minimal reproduction, but I haven't managed to make it throw the same error. |
Hey @ordago, thanks for trying this out so promptly! To be honest, I got the constructor warning my self as well, but I wasn't sure if it was related to the example project I was working on or if indeed a more general issue. Thank you for the suggested improvement, I will see if I can make that go away entirely. |
Hey @ordago, I just published It seems that we get this warning from Vue 3's special |
Hi @subzero10, I triggered the original error with the new version and now the console only shows my error. Thanks! |
@ordago Awesome! Thank you for using Honeybadger! |
I'm using honeybadger with Laravel, Inertia and Vue3.
Honeybadger seems to be accessing a Vue2 deprecated property.
I found the equivalent issue in Sentry while searching the error
getsentry/sentry-javascript#4170
And the PR that fixed it:
https://github.com/getsentry/sentry-javascript/pull/4461/files
What are the steps to reproduce this issue?
includes
onnull
in a computed property.What happens?
Some errors but not others make it so honeybadger throws its own error.
[Vue warn]: Property "_isVue" was accessed during render but is not defined on instance.
What were you expecting to happen?
…
Any logs, error output, etc?
Following the stacktrace in the browser points to this line:
Function.prototype.apply.call(original, _window.console, arguments);
Any other comments?
Here are the places where it's used:
honeybadger-js/packages/vue/src/vue-debug.js
Line 17 in 3172203
honeybadger-js/packages/vue/src/vue-debug.js
Line 44 in 3172203
What versions are you using?
Operating System: Windows 10
Package Name: @honeybadger-io/vue
Package Version: 4.8.2
Browser Version: Chrome
The text was updated successfully, but these errors were encountered: