-
Notifications
You must be signed in to change notification settings - Fork 348
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
[vue3.x] TypeScript Build Error #649
Comments
Having the same issue |
Try to set |
Add |
@recallwei Is node_modules excluded from tsconfig? Normally, components in node_modules should not be type checked.
|
My config also included |
Yes, I got the same result even after adding |
Temporarily fixed it by // stub/vue-slider-component.d.ts
// This needs to be stubbed until the vue-slider-component library fix their types
// https://github.com/johnsoncodehk/volar/issues/2018
export { DefineComponent } from 'vue'; and "paths": {
"@/*": ["src/*"],
"vue-slider-component": ["stubs/vue-slider-component.d.ts"]
}, in tsconfig.json |
If anyone else is struggling with this one, answer found in #652 npm install vue-slider-component@4.1.0-beta.6 |
still seems an issue in |
When I publish the site to vercel, the build failed error occurred. It seems like TypeScript error.
The error message is below.
Also, you can fork my repository (https://github.com/recallwei/resume-generator) and run
pnpm install
thenpnpm build
, and can find the build error message.Environment
The text was updated successfully, but these errors were encountered: