hurt-tomatoH
Refine3y ago
4 replies
hurt-tomato

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/*"]
}
Was this page helpful?