Commit 2dab0b7
authored
Fix issue with NPM 7 throwing error (#216)
NPM 7 automatically installs peer dependencies. Trying to update to React 17 causes error when installing @ant-design/icons
More info here: https://github.blog/2020-10-13-presenting-v7-0-0-of-the-npm-cli/
Based on the advice from Kent C. Dodds and Cory House, I updated peer dependency of React to be ">= 16.9.0"
Tweets: https://mobile.twitter.com/kentcdodds/status/13255656363034828801 parent 4f96ee0 commit 2dab0b7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments