SDG-AI-Lab / DSVI_Tool_v3

DSVI Online Tool: Displays social vulnerability data and allows users to analyze them interactively.
https://sdg-ai-lab.github.io/DSVI_Tool_v3/
5 stars 1 forks source link

Warning Messages - Need to be checked #179

Open Skerre opened 2 years ago

Skerre commented 2 years ago

when installing, this happens:

warning "@emotion/react > @emotion/babel-plugin@11.10.2" has unmet peer dependency "@babel/core@^7.0.0". warning "@emotion/react > @emotion/babel-plugin > @babel/plugin-syntax-jsx@7.18.6" has unmet peer dependency "@babel/core@^7.0.0-0". warning " > bootstrap@5.2.0-beta1" has unmet peer dependency "@popperjs/core@^2.11.5". warning " > react-leaflet@4.1.0" has incorrect peer dependency "leaflet@^1.9.0". warning " > react-leaflet@4.1.0" has incorrect peer dependency "react@^18.0.0". warning " > react-leaflet@4.1.0" has incorrect peer dependency "react-dom@^18.0.0". warning "react-leaflet > @react-leaflet/core@2.1.0" has incorrect peer dependency "leaflet@^1.9.0". warning "react-leaflet > @react-leaflet/core@2.1.0" has incorrect peer dependency "react@^18.0.0". warning "react-leaflet > @react-leaflet/core@2.1.0" has incorrect peer dependency "react-dom@^18.0.0". warning " > react-leaflet-box-zoom@1.0.2" has unmet peer dependency "prop-types@^15.5.4". warning " > react-leaflet-box-zoom@1.0.2" has incorrect peer dependency "react@^15.0.0 || ^16.0.0". warning " > react-leaflet-box-zoom@1.0.2" has incorrect peer dependency "react-dom@^15.0.0 || ^16.0.0". warning " > react-leaflet-box-zoom@1.0.2" has incorrect peer dependency "react-leaflet@^2.1.2". warning " > react-leaflet-easyprint@2.0.0" has incorrect peer dependency "leaflet@1.4.0". warning " > react-leaflet-easyprint@2.0.0" has incorrect peer dependency "react-leaflet@^1.9.1 || 2.2.0". warning " > react-leaflet-textpath@2.1.1" has incorrect peer dependency "react-leaflet@^3.0.0". warning " > use-dynamic-refs@1.0.0" has incorrect peer dependency "react@^16.0.0".

andreiPro commented 1 year ago

Good morning Martin, Do you still have this error? I think the reason of this bug was in using of npm (instead of yarn). Because of it was created 'package-lock.json' as result missed-much of dependencies (I've deleted the 'package-lock.json' in my last PL).

Skerre commented 1 year ago

Let me try to install the tool again and I see if it actually works

Skerre commented 1 year ago

@andreiPro I checked everything on my computer now:

My repository looks like this (configuration files)

image

I use yarn install --check-files to rebuild the dependencies.

image

Skerre commented 1 year ago

My yarn.lock (remove .txt) yarn.lock.txt

Skerre commented 1 year ago

My yarn version 1.22.19