Closed sdooodly closed 1 year ago
node -v: 10.18.0 "react-select": "^5.7.3"
[19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/accessibility/index.d.ts(1,13): error TS1005: '=' expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/accessibility/index.d.ts(1,37): error TS1005: ';' expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(2,13): error TS1005: '=' expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(2,32): error TS1005: ';' expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(11,1): error TS1128: Declaration or statement expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(11,13): error TS1005: ';' expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(11,49): error TS1005: ';' expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(13,1): error TS1128: Declaration or statement expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(13,13): error TS1005: ';' expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(13,45): error TS1005: ';' expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(14,1): error TS1128: Declaration or statement expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(14,13): error TS1005: ';' expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(14,78): error TS1109: Expression expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(14 Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(15,1): error TS1128: Declaration or statement expected.
This is a stub types definition. react-select provides its own type definitions, so you do not need this package installed. It is deprecated.
https://www.npmjs.com/package/@types/react-select
This error comes up while running npm i for a web application with ts and react
node -v: 10.18.0 "react-select": "^5.7.3"
[19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/accessibility/index.d.ts(1,13): error TS1005: '=' expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/accessibility/index.d.ts(1,37): error TS1005: ';' expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(2,13): error TS1005: '=' expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(2,32): error TS1005: ';' expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(11,1): error TS1128: Declaration or statement expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(11,13): error TS1005: ';' expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(11,49): error TS1005: ';' expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(13,1): error TS1128: Declaration or statement expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(13,13): error TS1005: ';' expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(13,45): error TS1005: ';' expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(14,1): error TS1128: Declaration or statement expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(14,13): error TS1005: ';' expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(14,78): error TS1109: Expression expected. [19:29:17] Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(14 Error - [tsc] node_modules/react-select/dist/declarations/src/index.d.ts(15,1): error TS1128: Declaration or statement expected.