quasarframework / quasar

Quasar Framework - Build high-performance VueJS user interfaces in record time
https://quasar.dev
MIT License
25.29k stars 3.43k forks source link

Wrong vue-tsc version in app-vite upgrade guide #17089

Closed w0pp closed 2 weeks ago

w0pp commented 1 month ago

Description

The upgrade guide mentions you should add vue-tsc@^1.0.0, but if you do that, you get an error after starting quasar dev, because vue-tsc/out/index is not found. I'm guessing that module was added in a later vue-tsc version. The docs should probably say you should add vue-tsc@^1.8.22, the same version that you get when you use yarn create quasar.

Documentation Section URL

https://quasar.dev/quasar-cli-vite/upgrade-guide#typescript-projects-linting

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite)

rstoenescu commented 2 weeks ago

Hi,

The caret character means "latest semver compatible version" -- which is whatever last v1 version is available. But fine, I will change docs.

rstoenescu commented 2 weeks ago

Will be available on next docs deployment.

w0pp commented 2 weeks ago

Hi,

The caret character means "latest semver compatible version" -- which is whatever last v1 version is available. But fine, I will change docs.

Thanks for the clarification. It looks like the issue was actually with Yarn on Windows requiring quotes around the version: yarnpkg/yarn#3270.