Red_Demon
Red_Demon
WWasp
Created by Red_Demon on 2/11/2025 in #🙋questions
Migration from 0.15 to 0.16 - Invalid value for the "compilerOptions.outDir" field in tsconfig.js
I was following the "Migration from 0.15 to 0.16" guide, which tells you to add this to tsconfig.js: { "compilerOptions": { // ... "composite": true, "skipLibCheck": true, "outDir": ".wasp/out/user" }, "include": [ "src" ] } so this is my resulting tsconfig.json: { "compilerOptions": { "composite": true, "skipLibCheck": true, "outDir": ".wasp/out/user", "module": "esnext", "target": "esnext", "moduleResolution": "bundler", "jsx": "preserve", "strict": true, "esModuleInterop": true, "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "typeRoots": [ "node_modules/@testing-library", "node_modules/@types" ], }, "include": [ "src" ] } but I get this error when compiling (after wasp clean): ❌ --- [Error] Your wasp project failed to compile: ------------------------------- - Invalid value for the "compilerOptions.outDir" field in tsconfig.json file, expected value: ".wasp/phantom". I can't see what I am missing? (Platform: WSL)
36 replies