You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Failed to compile when npm start project created by create-react-app my-app --scripts-version=react-scripts-ts #4144
when i do npm start, the initial projects work in browser, but seconds later, it's report error such like:
D:/my/project/path/react-typescript-pro/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts
(3631,13): Subsequent property declarations must have the same type. Property 'a' must be of type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>', but here has type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>'.
Console report eorror too:
D:/my/project/path/react-typescript-pro/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts
(3631,13): Subsequent property declarations must have the same type. Property 'a' must be of type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>', but here has type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>'.
__stack_frame_overlay_proxy_console__ @ index.js:2177
index.js:2177
D:/my/project/path/react-typescript-pro/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts
(3632,13): Subsequent property declarations must have the same type. Property 'abbr' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
So, anybody give some usable message resolve this question?
Activity
Timer commentedon Mar 12, 2018
Please file this bug with https://github.com/wmonk/create-react-app-typescript
keRee commentedon Mar 12, 2018
Done, #275 resolve this question