Skip to content

Cannot read property 'deps' of null #550

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

Closed
Mattchewone opened this issue Apr 23, 2018 · 5 comments
Closed

Cannot read property 'deps' of null #550

Mattchewone opened this issue Apr 23, 2018 · 5 comments
Labels

Comments

@Mattchewone
Copy link

Version

1.0.0-beta.14

Reproduction link

https://codesandbox.io/s/1pm8pzxm4

Steps to reproduce

Open the test tab to see the failing test.

What is expected?

Using findAll with .at() to trigger a click

What is actually happening?

Test is failing with "Cannot read property 'deps' of null" message


I am storing open/close states in parent component and testing by triggering clicks in the scopedSlot component.

@Mattchewone
Copy link
Author

Also not sure why in the codesandbox example these aren't printed in the console, but on my local version my terminal is filled with these:

[Vue warn]: Unknown custom element: <v-card-title>

I can't see what is wrong with the way I have added Vuetify to the localVue and Vue instance. So any insights would be greatly appreciated.

@Mattchewone
Copy link
Author

@eddyerburgh Could you point me in the right direction as to where I could look into this so I could perhaps create a PR for a fix. Assuming this is a bug and not an issue with my code..

Thanks

@Mattchewone
Copy link
Author

Thanks @eddyerburgh Is there a guide on getting the test utils running locally. I finally managed to get it to installed but getting lots of flow check errors when running the test suite. Wanted to get it to run locally before I looked into those files.
Maybe I am missing something from the setup, but I cloned and then installed, and it kept failing on the postinstall with a lerna failure. So I installed some deps to get passed that, but then running npm test just fails on flow check - Module not found: ...

@eddyerburgh
Copy link
Member

You need to run lerna bootstrap in the root of the project, then yarn install in the root. I'll add a contributing guide soon.

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

2 participants