I am currently facing multiple TypeScript issues in my Vite/Vue/Typescript project that are causing build failures that I am unable to quickly resolve.
Upon attempting to build, I encounter the following errors:
Found 20 errors in 2 files.
Errors Files
3 src/App.vue:3
17 src/stations.ts:7
error Command failed with exit code 2.
Is there a way to force the build to complete even with these errors present?
(I do plan to address these issues eventually, and I am okay with them being reported as errors for now – I just don't want the build process to be blocked)
Below are the dependencies for my project:
"scripts": {
"dev": "vite",
"build": "vue-tsc && vite build",
"preview": "vite preview"
},
"dependencies": {
"vue": "^3.3.4"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.2.3",
"@vue/eslint-config-prettier": "^8.0.0",
"eslint": "^8.49.0",
"eslint-plugin-vue": "^9.17.0",
"prettier": "^3.0.3",
"pug": "^3.0.2",
"typescript": "^5.0.2",
"vite": "^4.4.5",
"vite-plugin-pug": "^0.3.2",
"vue-pug-plugin": "^2.0.3",
"vue-tsc": "^1.8.5"
}