KrabK
Convex Community3y ago
5 replies
Krab

npx convex dev - Subsequent property declarations must have the same type (@types/react)

Hi, I've been trying to determine what exactly is wrong when I try to run (I'm on Notion clone tutorial - Authentication part)
npx convex dev 

It looks like some mixed ependencies? Anyone had same issue?
3442             tspan: React.SVGProps<SVGTSpanElement>;
                 ~~~~~

  node_modules/@types/react/index.d.ts:3526:13
    3526             tspan: React.SVGProps<SVGTSpanElement>;
                     ~~~~~
    'tspan' was also declared here.

../node_modules/@types/react/index.d.ts:3443:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'use' must be of type 'SVGProps<SVGUseElement>', but here has type 'SVGProps<SVGUseElement>'.

3443             use: React.SVGProps<SVGUseElement>;
                 ~~~

  node_modules/@types/react/index.d.ts:3527:13
    3527             use: React.SVGProps<SVGUseElement>;
                     ~~~
    'use' was also declared here.

../node_modules/@types/react/index.d.ts:3444:13 - error TS2717: Subsequent property declarations must have the same type.  Property 'view' must be of type 'SVGProps<SVGViewElement>', but here has type 'SVGProps<SVGViewElement>'.

3444             view: React.SVGProps<SVGViewElement>;
                 ~~~~

  node_modules/@types/react/index.d.ts:3528:13
    3528             view: React.SVGProps<SVGViewElement>;
                     ~~~~
    'view' was also declared here.


Found 186 errors in 2 files.

Errors  Files
     7  node_modules/@types/react/index.d.ts:3323
   179  ../node_modules/@types/react/index.d.ts:3244
Terminate batch job (Y/N)? Y 
Was this page helpful?