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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'type' of null #499

Closed
nasirouwagana opened this issue Jan 13, 2018 · 24 comments
Closed

Cannot read property 'type' of null #499

nasirouwagana opened this issue Jan 13, 2018 · 24 comments
Assignees
Labels

Comments

@nasirouwagana
Copy link

OS : Ubuntu 16.04
Chrome : 63.0.3239.84
vue : 2.5.13
vuex : 3.0.1
vue-devtools: 4.0.0

No content is appeared at right side, when I click on a component to inspect it.
After I click on a component to inspect it, there are also a lot of errors in my console.

Please look at these two images below.

image

image

@MinimiseNZ
Copy link

Same issues here. Is affecting the functionality of entire app. Functionality is restored only when vue-devtools is uninstalled

@Nikolay200669
Copy link

Nikolay200669 commented Jan 13, 2018

+1
This problem also in Firefox

@ankurk91
Copy link

ankurk91 commented Jan 13, 2018

I have the same error.
Version 63.0.3239.108 (Official Build) (64-bit)
screenshot from 2018-01-13 12 51 42

I uninstalled the extension and re-installed but the issue remain same.
This is happening when we select a child component in tree view.

@patrikengborg
Copy link

I have the same issue.

@mariomka
Copy link

mariomka commented Jan 13, 2018

I have the same issue

OS : macOS 10.13.2
Chrome : 63.0.3239.132
vue : 2.5.9
vuex : 2.5.0
vue-devtools: 4.0.0

@DannyHinshaw
Copy link

DannyHinshaw commented Jan 13, 2018

Same issue here.

Appears to be solved by checking 'Allow access to file URLs' on extension' checkbox on the chrome extension.

Specifically, my error was related to vue-router whenever I changed routes, though not every time... Unfortunately, I don't have the time to dig further at this point, but hopefully that helps someone.

Edit: Nervermind, there error has returned.

@einnar82
Copy link

+1
Also in npm run build

@ArjenNZ
Copy link

ArjenNZ commented Jan 13, 2018

This seems to be an issue concerning https://vuejs.org/v2/api/#provide-inject . For me, vee-validate was the problem.

Fix: set Component Injections to false, and inject the validator in the specific component. Hope this helps anybody with the errors in vee-validate.

@nasirouwagana
Copy link
Author

nasirouwagana commented Jan 13, 2018

Exactly @ArjenNZ, you are right. If I desactivate vee-validate, vue-devtools works properly.
I forgot to mention earlier I have used vee-validate : 2.0.2.

@mariomka
Copy link

@ArjenNZ yep! Devtools works well, disabling vee-validate.

@sigfriedseldeslachts
Copy link

sigfriedseldeslachts commented Jan 13, 2018

You can fix the issue by placing an input or so and add v-validate attribute on it. This however is not a permanent solution, and not a good one either. But it get's the job done, meanwhile just wait for an update.

<input type="hidden" v-validate="'required'">

@groenroos
Copy link

Same issue here; disabling v-validate makes the problems go away, but obviously that's not a real fix.

@Akryum Akryum changed the title vue-devtools 4.0.0 issue on Chrome Cannot read property 'type' of null Jan 13, 2018
@Akryum Akryum self-assigned this Jan 13, 2018
@vuejs vuejs deleted a comment from pedramk Jan 14, 2018
@vuejs vuejs deleted a comment from kaankucukx Jan 14, 2018
@vuejs vuejs deleted a comment from codeofsumit Jan 14, 2018
@logaretm
Copy link

I've tagged 2.0.3 with a fix for the issue, could you guys upgrade vee-validate and test it?

@nasirouwagana
Copy link
Author

@logaretm vue-devtools now works. Thank for your awesome work.

@groenroos
Copy link

I've got vue-devtools 4.0.1 and vee-validate 2.0.3, and the issue seems to have gone away!

@sigfriedseldeslachts
Copy link

Issue has been fixed in vee-validate 2.0.3

@Akryum Akryum closed this as completed Jan 14, 2018
JavaTheNutt pushed a commit to JavaTheNutt/spendlyte_client01 that referenced this issue Jan 15, 2018
@thomassjogren
Copy link

@logaretm Thanks for the fast fix.

@Akryum
Copy link
Member

Akryum commented Jan 18, 2018

This shouldn't happen again with #523.

@0x8801
Copy link

0x8801 commented Jan 18, 2018

Yep, npm install --save vee-validate@2.0.3 fixes this issue! Thanks @logaretm

@Mouvedia
Copy link

I am stuck with 2.0.0-rc.25 due to the breaking changes in rc 26 that are too numerous.

@kaungmyatlwin
Copy link

This is also happening on Element UI 1.4.x with Vue 2.4.x.

@Akryum
Copy link
Member

Akryum commented Jan 21, 2018

Try this branch: https://github.com/Akryum/vue-devtools/tree/types-improvements

@sellou
Copy link

sellou commented Jan 22, 2018

Any clues how to resolve this issue with vuelidate ?
Thanks

@sigfriedseldeslachts
Copy link

@sellou use vee-validate. The issue has been solved there.

Sorry. I thought you meant vee-validate (removed previous message).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests