International-Data-Spaces-Association / ids-metadata-broker-open-frontend

Apache License 2.0
0 stars 5 forks source link

browserlist in package.json produces error when starting #2

Closed SebastianOpriel closed 2 years ago

SebastianOpriel commented 2 years ago

Hi, I received an error, running the searchfrontend locally. The bug is pretty well described and fixed at following stackoverflow thread: https://stackoverflow.com/questions/67552020/how-to-fix-error-failed-to-compile-node-modules-react-leaflet-core-esm-pat

To avoid such issues you may commit package-lock.json too.

waleedshabbir1 commented 2 years ago

Fixed with #7

NehaThawani44 commented 2 years ago

@SebastianOpriel @waleedshabbir1 the package-lock has been committed hence closing this issue

SebastianOpriel commented 2 years ago

Thanks! Now it works with the package-lock.

I figured out how to reproduce my issue: Running npm update --legacy-peer-deps and npm adit fix and finally npm run start leads to the error linked in my initial comment.