Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dancingflamingo's avatar

Just install Vue Starter Kit and it comes with 3 problems

I just do fresh install. At first it doesn't highlight the error. But when open the file the error is there.

2 problem in file Welcome.vue

  1. Line 14 :

Property '$page' does not exist on type 'CreateComponentPublicInstanceWithMixins<ToResolvedProps<{}, {}>, { Head: InertiaHead; Link: InertiaLink; }, {}, {}, {}, ComponentOptionsMixin, ... 19 more ..., {}>'.ts-plugin(2339)

  1. Line 217 :

Argument of type '{ class: string; style: { mixBlendMode: "plus-darker"; }; }' is not assignable to parameter of type 'SVGAttributes & ReservedProps & Record<string, unknown>'. Type '{ class: string; style: { mixBlendMode: "plus-darker"; }; }' is not assignable to type 'SVGAttributes'. Types of property 'style' are incompatible. Type '{ mixBlendMode: "plus-darker"; }' is not assignable to type 'StyleValue'. Type '{ mixBlendMode: "plus-darker"; }' is not assignable to type 'undefined'.ts-plugin(2345)

1 problem in tsconfig.json Line 1 :

Cannot find type definition file for 'vue/tsx'. The file is in the program because: Entry point of type library 'vue/tsx' specified in compilerOptions

3 likes
3 replies
RemiM's avatar

There is a PR open that actually fix this issue. If you want it to be fix without waiting, you can directly make the changes from it in your fresh install.

2 likes
jasperfernandez's avatar

The problem 1 in tsconfig.json Line 1

I use copilot to suggest a fix

It suggested to run npm install --save-dev @vue/babel-plugin-jsx

And the error is gone

CharlesCook's avatar

For the tsconfig.json error fix I turned off Virus Protection for Windows and then ran:

composer dump-autoload -o

Please or to participate in this conversation.