Closed eric-burel closed 3 years ago
Hi, I get some Babel related issues when importing your package (v1.0.15), in a Storybook story:
ERROR in ./node_modules/react-leaflet-enhanced-marker/lib/Markers.js Module not found: Error: Can't resolve 'babel-runtime/helpers/possibleConstructorReturn' in '/code/aplines/aplines-frontend/node_modules/react-leaflet-enhanced-marker/lib' @ ./node_modules/react-leaflet-enhanced-marker/lib/Markers.js 23:34-92 @ ./src/components/map/stories/LeafletMap.stories.tsx ERROR in ./node_modules/react-leaflet-enhanced-marker/lib/Markers.js Module not found: Error: Cannot find module 'babel-runtime/core-js/object/get-prototype-of' @ ./node_modules/react-leaflet-enhanced-marker/lib/Markers.js 11:22-78 @ ./src/components/map/stories/LeafletMap.stories.tsx
Are there dependencies to install? Also is that normal that your package.json points toward "lib" and not "dist"?
Hi, I get some Babel related issues when importing your package (v1.0.15), in a Storybook story:
Are there dependencies to install?
Also is that normal that your package.json points toward "lib" and not "dist"?