Open daniel-le97 opened 1 year ago
0.7.4
Darwin 22.5.0 arm64 arm
changing jsx in tsconfig.json compilerOptions to "jsx": "react-jsx". `{ "compilerOptions": { // ...compilerOptions, "jsx": "react-jsx", "jsxImportSource": "nano-jsx/esm" //example library if set
}, // ...tsconfigOptions }`
no errors, it should be looking for '{library | react}/jsx-runtime'
error: Could not resolve: "nano-jsx/esm/jsx-dev-runtime". Maybe you need to "bun install"?
No response
Same issue on monterey 12.6.8 using bun 0.8.1 regardless of the jsx config in tsconfig.json.
monterey 12.6.8
bun 0.8.1
jsx
tsconfig.json
Sounds like the same issue as https://github.com/oven-sh/bun/issues/3768
What version of Bun is running?
0.7.4
What platform is your computer?
Darwin 22.5.0 arm64 arm
What steps can reproduce the bug?
changing jsx in tsconfig.json compilerOptions to "jsx": "react-jsx". `{ "compilerOptions": { // ...compilerOptions, "jsx": "react-jsx", "jsxImportSource": "nano-jsx/esm" //example library if set
}, // ...tsconfigOptions }`
What is the expected behavior?
no errors, it should be looking for '{library | react}/jsx-runtime'
What do you see instead?
error: Could not resolve: "nano-jsx/esm/jsx-dev-runtime". Maybe you need to "bun install"?
Additional information
No response