get-convex / convex-helpers

A collection of useful code to complement the official packages.
MIT License
66 stars 8 forks source link

Convex helper cache failed to compile = #147

Open larryhopecode opened 1 week ago

larryhopecode commented 1 week ago

The error message: ./node_modules/.pnpm/convex-helpers@0.1.43_convex@1.12.2_react-dom@18.3.1_react@18.3.1react@18.3.1react@18.3.1_zod@3.23.8/node_modules/convex-helpers/react/cache/provider.tsx:115:3 Type error: Private identifiers are only available when targeting ECMAScript 2015 and higher.

Then even I change tsconfig.json: "target": "ES2020". The result is the same.

larryhopecode commented 1 week ago

Compiling error could be fixed by change private function #getQueryEntry to _getQueryEntry And wait for better solution.

marwand commented 1 week ago

I'm getting a different error with the same file (provider.tsx): Unable to resolve "./provider.js" from "node_modules/convex-helpers/react/cache/hooks.ts"