Closed SnowWindSaveYou closed 4 months ago
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @canvas-ui/react@1.0.0
npm ERR! Found: react@16.8.6
npm ERR! node_modules/react
npm ERR! peer react@"16.8.6" from @canvas-ui/react@1.0.0
npm ERR! packages/react
npm ERR! @canvas-ui/react@1.0.0
npm ERR! node_modules/@canvas-ui/react
npm ERR! workspace packages\react from the root project
npm ERR! 1 more (@canvas-ui/examples)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@">=16.13" from react-use-measure@2.0.4
npm ERR! node_modules/react-use-measure
npm ERR! react-use-measure@"2.0.4" from @canvas-ui/react@1.0.0
npm ERR! packages/react
npm ERR! @canvas-ui/react@1.0.0
npm ERR! node_modules/@canvas-ui/react
npm ERR! workspace packages\react from the root project
npm ERR! 1 more (@canvas-ui/examples)
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
下下来直接npm install也不行,悲。
你好,还在维护的,但是目前没有兼容新版 React 的计划
具备 React 绑定的 Canvas 绘制库可以试试 Konva
除了这个以外有什么推荐的react用canvas绘制ui的库吗?