wheatjs / vite-plugin-vue-type-imports

Import types in Vue SFC for defineProps
223 stars 16 forks source link

Parsing ast occur null pointer #7

Closed cizkey closed 2 years ago

cizkey commented 2 years ago

image

 [vite] Internal server error: Cannot read property 'value' of null
  Plugin: vite-plugin-vue-type-imports

I checked the error code as follows:

image

and At the same time, compiler-sfc occur error

[vite] Internal server error: [@vue/compiler-sfc] type argument passed to defineProps() must bence to an interface or literal type.

Are there any other notice in use? Thank you !

wheatjs commented 2 years ago

Can you show me the vue file and the file you were trying to import?

cizkey commented 2 years ago

it was a mistake, maybe other error caused. i remove node_modules a few times, this error no longer occur.

cizkey commented 2 years ago

it was a mistake, maybe other error caused. i remove node_modules a few times, this error no longer occur.

see #9