Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6287

Expo Typescript won't build the project, no outDir is produced

$
0
0

I'm trying to get my typescript project to build. It has built successfully in the past with the same settings, but now it's not building even though it isn't showing any errors. I run:

npx tsc -p tsconfig.json

Where my tsconfig.json is:

{"compilerOptions": {"module": "ES6","target": "ES6","declaration": true,"outDir": "./lib","strict": true,"jsx": "react-native","skipLibCheck": true,"moduleResolution": "node","allowSyntheticDefaultImports": true,  },"include": ["src/**/*"  ],"extends": "expo/tsconfig.base"}

No lib folder is produced at all.

My src folder contains several typescript files, as well as an index that exports the required components.

I'm really confused because my project structure and settings haven't changed at all yet tsc is no longer producing the outDir or any of the files when it worked before.


Viewing all articles
Browse latest Browse all 6287

Trending Articles