error: Could not resolve: "react". Maybe you need to "bun install"?
FMGordillo opened this issue · 1 comments
FMGordillo commented
I don't know if this is replicable, but I tried doing in a parallel project, and cloning your repository, and this happened:
code/beth_stack [main●] » bun run src/index.tsx
error: Could not resolve: "react". Maybe you need to "bun install"?
import { Elysia, t } from "elysia";
^
code/beth_stack/src/index.tsx:1:1
Is there any way to get around this?
bun: 0.6.2
node: 18.17.1
os: linux
ethanniser commented
Make sure your tsconfig JSX settings are aligned with the ones shown in the typed-html docs