-
-
Notifications
You must be signed in to change notification settings - Fork 206
Open
Description
π Summary
Write a short summary of the bug in here.
- Typia Version: 11.0.3 (also tested with @next)
- Expected behavior: pnpm typia setup --manager pnpm should not error
- Actual behavior:
Done in 7s using pnpm v10.28.2
ReferenceError: tsconfig.json file does not have "compilerOptions" property.
at Object.<anonymous> (C:\nim\kubernetes\node_modules\.pnpm\[email protected]_@[email protected][email protected]\node_modules\typia\lib\executable\setup\PluginConfigurator.js:26:23)
at Generator.next (<anonymous>)
at fulfilled (C:\nim\kubernetes\node_modules\.pnpm\[email protected]_@[email protected][email protected]\node_modules\typia\lib\executable\setup\PluginConfigurator.js:5:58)
I have two tsconfig files:
tsconfig.base.json
{
"compilerOptions": {
"target": "ES2024",
"module": "esnext",
"composite": true,
"moduleResolution": "bundler",
"esModuleInterop": true,
"strict": true,
"allowJs": true,
"outDir": "dist",
"skipLibCheck": true, /* Skip type checking of declaration files. */
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"resolveJsonModule": true,
"noEmit": false,
// "baseUrl": "./",
"paths": {
"src/*": [
"./src/*",
],
},
"typeRoots": [
"./node_modules/@types",
"./types"
],
},
"exclude": [
"./.git/**/*",
"./log/**/*",
"./.vscode/**/*",
"./config/**/*",
"./data/**/*",
"./dist/**/*",
"./node_modules/**/*"
],
"include": [
"src/**/*",
"src/version.json"
],
}
tsconfig.json
{
"extends": "./tsconfig.base.json",
"exclude": [
"./.git/**/*",
"./log/**/*",
"./.vscode/**/*",
"./config/**/*",
"./data/**/*",
"./dist/**/*",
"./out/**/*",
"./node_modules/**/*"
],
"ts-node": {
"transpileOnly": true,
},
}I selected tsconfig.json in the setup procedure and it says the compilerOptions are missing, they are not they are in the base file.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels