Recently, I decided to upgrade from the i18n package to the newer version called i18next in my project. However, this update led to numerous errors popping up during compilation. Fortunately, by adding 'skipLibCheck' to the compiler options in the tsconfig file, I was able to resolve these issues and everything is now running smoothly.
However, a new problem has arisen – the errors that were previously only appearing during compilation are now causing my application build to fail.
Is there a way to prevent TypeScript from checking the node_modules folder when running the vue-cli-service build?
In my tsconfig.json file, I have already included:
"compilerOptions": {
"skipLibCheck": true,
},
and
"exclude": [
"node_modules",
"node_modules/*",
]
Some of the errors I'm encountering are illustrated below: https://i.stack.imgur.com/8cFav.png