teralytics / flowmap.gl

Flow map drawing layer for deck.gl
https://teralytics.github.io/flowmap.gl/
Apache License 2.0
173 stars 21 forks source link

flowmap.gl does not support react 18.2 #139

Closed yqwang96 closed 2 years ago

yqwang96 commented 2 years ago

when I installed flowmap.gl and run 'npm i flowmap.gl', an error was occured.

npm ERR! Found: react@18.2.0 npm ERR! node_modules/react npm ERR! react@"^18.2.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"0.14.x - 16.x" from flowmap.gl@4.0.0 npm ERR! node_modules/flowmap.gl npm ERR! flowmap.gl@"*" from the root project 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.

Does flowmap.gl not support higher versions of react16?

ilyabo commented 2 years ago

Check out the new version https://github.com/FlowmapBlue/flowmap.gl

yqwang96 commented 2 years ago

Thank you for your reply and your dedication. I also found this library 'https://github.com/FlowmapBlue/flowmap.gl'. But, to be honestly, I am a rookie in this field. I don't kown how to install this library--'https://github.com/FlowmapBlue/flowmap.gl'. Could you give me some advice for the installation of 'https://github.com/FlowmapBlue/flowmap.gl'?

ilyabo commented 2 years ago

Check this example:

https://github.com/FlowmapBlue/flowmap.gl/tree/main/examples/react-app

On Tue, 13 Sep 2022 at 09:44, YinquanWangBJTU @.***> wrote:

Thank you for your reply and your dedication. I also found this library ' https://github.com/FlowmapBlue/flowmap.gl'. But, to be honestly, I am a rookie in this field. I don't kown how to install this library--'https://github.com/FlowmapBlue/flowmap.gl'. Could you give me some advice for the installation of ' https://github.com/FlowmapBlue/flowmap.gl'?

— Reply to this email directly, view it on GitHub https://github.com/teralytics/flowmap.gl/issues/139#issuecomment-1245026056, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACV4VGWSKTSFKQH3T6XV63V6AWHLANCNFSM6AAAAAAQLCBRVU . You are receiving this because you commented.Message ID: @.***>

yqwang96 commented 2 years ago

Thanks. I have fixed this problem. The performance of flowmap.gl is excellent and impresses me deeply. Thanks again.