other-emerald
other-emerald2y ago

TSconfig error

Hey Everyone - I was wondering if anyone else was running into these errors as they were starting a new refine project: "Cannot read file 'c:/.../node_modules/tsconfig.build.json'. " My tsconfig file looks like this
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"strict": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"baseUrl": "src",
"paths": {
"*": ["./*"]
}
},
"include": ["src"],
"exclude": ["/node_modules/*"]
}
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"strict": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"baseUrl": "src",
"paths": {
"*": ["./*"]
}
},
"include": ["src"],
"exclude": ["/node_modules/*"]
}
4 Replies
kapa.ai
kapa.ai2y ago
Hey @gastrader! I'm the kapa.ai support bot. I've searched through the docs to try to answer your question. :wave:
kapa.ai
kapa.ai2y ago
---------------------- Hmm, I don't know enough to give you a confident answer yet. The information extracts provided do not cover tsconfig errors or configurations. However, you can refer to the refine documentation for more information: https://refine.dev/docs ----------------------
Overview | refine
What is refine?
kapa.ai
kapa.ai2y ago
<@401820811196891147> kapa.ai is still learning and improving, please let us how it did by reacting below
useful-bronze
useful-bronze2y ago
Hello @gastrader , if you can provide us a reproducible example and provide more details, we can help you. For example which project you are trying to create and which step returns this error.

Did you find this page helpful?