tsconfig.base not found

I keep getting that error

{
	"resource": "/g:/Expo/mobshed/node_modules/@expo/vector-icons/tsconfig.json",
	"owner": "typescript",
	"severity": 8,
	"message": "File 'expo-module-scripts/tsconfig.base' not found.",
	"source": "ts",
	"startLineNumber": 3,
	"startColumn": 14,
	"endLineNumber": 3,
	"endColumn": 49
}

That error goes away when I restart Visual Studio Code… But then it comes back!

I’m getting the same thing in VS Code -

tsconfig.json node_modules/expo-constants
File 'expo-module-scripts/tsconfig.base' not found.

The contents of node_modules/expo-constants/tsconfig.js is -

// @generated by expo-module-scripts
{
  "extends": "expo-module-scripts/tsconfig.base",
  "compilerOptions": {
    "outDir": "./build"
  },
  "include": ["./src"],
  "exclude": ["**/__mocks__/*", "**/__tests__/*"]
}

There is no expo-module-scripts folder however.

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.