I'm trying to install ant design in my project. npm install antd --save
Results in the following warnings:
npm WARN react-lazy-load@3.0.12 requires a peer of react@^0.14.0 || ^15.0.0-0 but none was installed.
npm WARN react-lazy-load@3.0.12 requires a peer of react-dom@^0.14.0 || ^15.0.0-0 but none was installed.
npm WARN react-slick@0.14.11 requires a peer of react@^0.14.0 || ^15.0.1 but none was installed.
npm WARN react-slick@0.14.11 requires a peer of react-dom@^0.14.0 || ^15.0.1 but none was installed.
npm WARN draft-js@0.10.1 requires a peer of react@^0.14.0 || ^15.0.0-rc but none was installed.
npm WARN draft-js@0.10.1 requires a peer of react-dom@^0.14.0 || ^15.0.0-rc but none was installed.
npm WARN rc-hammerjs@0.6.6 requires a peer of react@^0.14.3 || ^15.0.0 but none was installed.
Inside the dependencies i can see:
"@types/react": "15.0.24", "@types/react-dom": "15.5.0",
Does this mean that ant design is incompatible with these versions of react? What am i doing wrong? Any suggestions?
via Kristóf Tóth
No comments:
Post a Comment