How add a new map to chart “country_map” Apache Superset

  Kiến thức lập trình

Good day. I copied russia.geojson from superst/superset-frontend/plugins/legacy-plugin-chart-country-map/src/countries and renamed it to newrussia.geojson to check the country addition function according to the instructions from https://superset.apache.org/docs/miscellaneous/country-map-tools/. After that, I added the file name to the import and the list “export const countries”. I’m stuck on the third.
Error: npm: The npm name is not recognized as the name of a cmdlet, function, script file, or executable program.

I am working with Superset v3.1.1 installed in Docker via Pycharm terminal. I tried to install npm via pip install. the installation was successful, but the error remained.
In many guides, there are no steps 3 and 4, the container is immediately launched. However, the following error occurs at startup:
ERROR in src/visualizations/TimeTable/controlPanel.js:33:10

LEAVE A COMMENT