react-simple-maps
react-simple-maps copied to clipboard
Can't run an example
npm --version 6.4.1
Example: basic-map
npm install npm run dev open http://localhost:3000
Error in ./pages/index.js
Module build failed: ReferenceError: Unknown plugin "transform-object-rest-spread" specified in "/home/lampshade10/Downloads/react-simple-maps-master/package.json" at 0, attempted to resolve relative to "/home/lampshade10/Downloads/react-simple-maps-master"
at /home/lampshade10/Downloads/react-simple-maps-master/examples/basic-map/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17
at Array.map (
FYI: this is an issue with package.json dependencies. These (current versions) works: "dependencies": { "next": "^8.1.0", "react": "^16.8.6", "react-dom": "^16.8.6", "react-simple-maps": "^0.12.1" }
And I can't fix the with-redux-tooltip ...