node_modules compile error #2170
Replies: 4 comments
-
Hi there! May I ask you what versions of TypeScript and this package are you using that gives this error? |
Beta Was this translation helpful? Give feedback.
-
Hi typescript 5.1.6 my tsconfig { |
Beta Was this translation helpful? Give feedback.
-
All right, the error you're getting is due to that you've included both client and server typings simultaneously, but they're not meant to be used like that exactly because they define the very same common types and that leads to such an error. What you can do here is either:
|
Beta Was this translation helpful? Give feedback.
-
thank you |
Beta Was this translation helpful? Give feedback.
-
Hi I get the error when compiling in ts
node_modules/@citizenfx/server/index.d.ts:133:5 - error TS2374: Duplicate index signature for type 'string'.
Beta Was this translation helpful? Give feedback.
All reactions