Open golamrabbiazad opened 1 year ago
For anyone else, I was able to resolve this specifying the exact path in my tsconfig.json
{
"extends": "./node_modules/astro/tsconfigs/strict.json",
"compilerOptions": {
}
}
This issue is now solved in Bun v1.0.2. :tada:
I can reproduce the same bug with Bun 1.1.13 😢 Takes hours to identify the problem...
I'm also having this issue, but it fails silently
tsconfig.json
// Doesn't work
{
"extends": "@2pm/config/tsconfig.base.json"
}
// Works
{
"extends": "./node_modules/@2pm/config/tsconfig.base.json"
}
This is via a script from the workspace
package.json
{
"name": "@2pm/workspace",
"scripts": {
"generate:openapi-spec": "bun scripts/generate-openapi-spec.ts",
},
"workspaces": [
"apps/*",
"packages/*"
]
The script runs, but it produces an error as a required tsconfig option is missing ("emitDecoratorMetadata": true)
Copying the contents of ./packages/config/tsconfig.base.json to ./tsconfig.json, or replacing the extension path with the relative path (including ./node_modules) results in the script running correctly
Bun version: 1.1.27
What version of Bun is running?
1.0.1
What platform is your computer?
Linux 6.2.0-32-generic x86_64 x86_64
What steps can reproduce the bug?
bunx --bun astro dev
command shows thewarn: FileNotFound loading tsconfig.json extends "/home/user/Desktop/sandwch-burner/astro/tsconfigs/strictest"
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response