Solo00Root
Solo00Root2y ago

i get this error everytime

To ignore failing typecheck, use `--typecheck=disable`.
../../../node_modules/@types/css-font-loading-module/index.d.ts:22:9 - error TS2717: Subsequent property declarations must have the same type. Property 'display' must be of type 'FontDisplay | undefined', but here has type 'string | undefined'.

22 display?: string | undefined;
~~~~~~~

node_modules/typescript/lib/lib.dom.d.ts:515:5
515 display?: FontDisplay;
~~~~~~~
'display' was also declared here.
../../../node_modules/@types/css-font-loading-module/index.d.ts:42:9 - error TS2717: Subsequent property declarations must have the same type. Property 'display' must be of type 'FontDisplay', but here has type 'string'.

42 display: string;
~~~~~~~

node_modules/typescript/lib/lib.dom.d.ts:5537:5
5537 display: FontDisplay;
~~~~~~~
'display' was also declared here.


Found 2 errors in the same file, starting at: ../../../node_modules/@types/css-font-loading-module/index.d.ts:22
To ignore failing typecheck, use `--typecheck=disable`.
../../../node_modules/@types/css-font-loading-module/index.d.ts:22:9 - error TS2717: Subsequent property declarations must have the same type. Property 'display' must be of type 'FontDisplay | undefined', but here has type 'string | undefined'.

22 display?: string | undefined;
~~~~~~~

node_modules/typescript/lib/lib.dom.d.ts:515:5
515 display?: FontDisplay;
~~~~~~~
'display' was also declared here.
../../../node_modules/@types/css-font-loading-module/index.d.ts:42:9 - error TS2717: Subsequent property declarations must have the same type. Property 'display' must be of type 'FontDisplay', but here has type 'string'.

42 display: string;
~~~~~~~

node_modules/typescript/lib/lib.dom.d.ts:5537:5
5537 display: FontDisplay;
~~~~~~~
'display' was also declared here.


Found 2 errors in the same file, starting at: ../../../node_modules/@types/css-font-loading-module/index.d.ts:22
6 Replies
Indy
Indy2y ago
Humm looks like an error in types in one of our dependent libraries. @ballingt or @sshader might have better answers. But you might be able to just keep moving by following the suggestion at the top of the error and doing: npx convex dev --typecheck=disable
ballingt
ballingt2y ago
@Solo00Root you also might add "skipLibCheck": true to the tsconfig.json in the convex directory
Solo00Root
Solo00RootOP2y ago
i used that but didnt work
Indy
Indy2y ago
Ah ok. Looks like Tom's message above might be more helpful. Hopefully that unblocked you.
hondacivicchan
ohh nice this fixed it ❤️ ty yall
Solo00Root
Solo00RootOP2y ago
And i was thinking i was doing mistakes and it didnt work lol🤣 nvm i just tried out and the error has been patched thanks

Did you find this page helpful?