#Invalid value used as weak map key

3 messages · Page 1 of 1 (latest)

young briar
#

I can't use react with Astro. Getting the error.
Has anyone seen it before?

native escarpBOT
#
No-one around right now?

It looks like no-one has responded to your question yet. People might not be available right now or don’t know how to answer your question. Want an answer while you wait? Try asking our experimental bot in #1095492539085230272.

young briar
#

"include": ["next-env.d.ts", "/*.ts", "/.tsx"],
"paths": {
"components/
": ["src/components/"],
"lib/
": ["src/lib/"],
"temp/
": ["src/temp/"],
"assets/
": ["src/assets/*"],
"graphql-types": ["node_modules/@types/graphql-let/generated/types"]
},

Adding these lines to tsconfig.json fixed the issue