Getting warning while compiling the react application
Install "react-svg-worldmap": "^2.0.0-alpha.16" version of react-svg-worldmap and when you compile the application, it will throw around 9 warning messages.
Expected behavior Dependency should be installed without any warning using the yarn package manager.
Desktop (please complete the following information):
- OS: Mac
- Browser Chrome
- yarn version 3.2.2
- node v20
List of warnings
Failed to parse source map from '/Users/fazeelqureshi/gitlab/pgp-ui/node_modules/react-svg-worldmap/src/components/Frame.tsx' file: Error: ENOENT: no such file or directory, open '/Users/fazeelqureshi/gitlab/pgp-ui/node_modules/react-svg-worldmap/src/components/Frame.tsx'
Failed to parse source map from '/Users/fazeelqureshi/gitlab/pgp-ui/node_modules/react-svg-worldmap/src/components/Region.tsx' file: Error: ENOENT: no such file or directory, open '/Users/fazeelqureshi/gitlab/pgp-ui/node_modules/react-svg-worldmap/src/components/Region.tsx'
Failed to parse source map from '/Users/fazeelqureshi/gitlab/pgp-ui/node_modules/react-svg-worldmap/src/components/TextLabel.tsx' file: Error: ENOENT: no such file or directory, open '/Users/fazeelqureshi/gitlab/pgp-ui/node_modules/react-svg-worldmap/src/components/TextLabel.tsx'
Failed to parse source map from '/Users/fazeelqureshi/gitlab/pgp-ui/node_modules/react-svg-worldmap/src/constants.ts' file: Error: ENOENT: no such file or directory, open '/Users/fazeelqureshi/gitlab/pgp-ui/node_modules/react-svg-worldmap/src/constants.ts'
Failed to parse source map from '/Users/fazeelqureshi/gitlab/pgp-ui/node_modules/react-svg-worldmap/src/countries.geo.ts' file: Error: ENOENT: no such file or directory, open '/Users/fazeelqureshi/gitlab/pgp-ui/node_modules/react-svg-worldmap/src/countries.geo.ts'
Failed to parse source map from '/Users/fazeelqureshi/gitlab/pgp-ui/node_modules/react-svg-worldmap/src/draw.tsx' file: Error: ENOENT: no such file or directory, open '/Users/fazeelqureshi/gitlab/pgp-ui/node_modules/react-svg-worldmap/src/draw.tsx'
Failed to parse source map from '/Users/fazeelqureshi/gitlab/pgp-ui/node_modules/react-svg-worldmap/src/index.tsx' file: Error: ENOENT: no such file or directory, open '/Users/fazeelqureshi/gitlab/pgp-ui/node_modules/react-svg-worldmap/src/index.tsx'
Failed to parse source map from '/Users/fazeelqureshi/gitlab/pgp-ui/node_modules/react-svg-worldmap/src/utils.ts' file: Error: ENOENT: no such file or directory, open '/Users/fazeelqureshi/gitlab/pgp-ui/node_modules/react-svg-worldmap/src/utils.ts'