shunjizhan / react-folder-tree

A versatile react treeview library that supports custom icons and event handlers
https://www.npmjs.com/package/react-folder-tree
119 stars 46 forks source link

Could not resolve dependency: React 18 #68

Open baur opened 2 years ago

baur commented 2 years ago

Could not resolve dependency: React 18

npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0 || ^17" from react-folder-tree@5.0.3
npm ERR! node_modules/react-folder-tree
npm ERR!   react-folder-tree@"*" from the root project
baur commented 2 years ago

Please add support for React 18?

NicolaLovo commented 2 years ago

You can work around this issue by doing so: npm install react-folder-tree --force