Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fix yarn start #243

Merged
merged 1 commit into from
Mar 8, 2022
Merged

🐛 Fix yarn start #243

merged 1 commit into from
Mar 8, 2022

Conversation

0x46616c6b
Copy link
Member

@0x46616c6b 0x46616c6b commented Mar 2, 2022

Problem

Failed to compile.

./node_modules/@react-leaflet/core/esm/path.js 10:41
Module parse failed: Unexpected token (10:41)
File was processed with these loaders:
 * ./node_modules/react-scripts/node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
|   useEffect(function updatePathOptions() {
|     if (props.pathOptions !== optionsRef.current) {
>       const options = props.pathOptions ?? {};
|       element.instance.setStyle(options);
|       optionsRef.current = options;

Fix

Seems to change the browserlist helps here.

@codecov-commenter
Copy link

Codecov Report

Merging #243 (3cc5132) into main (3e6c2c2) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #243   +/-   ##
=======================================
  Coverage   63.60%   63.60%           
=======================================
  Files          18       18           
  Lines         250      250           
  Branches       82       82           
=======================================
  Hits          159      159           
  Misses         91       91           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3e6c2c2...3cc5132. Read the comment docs.

@0x46616c6b 0x46616c6b merged commit ec3a42c into main Mar 8, 2022
@0x46616c6b 0x46616c6b deleted the fix-yarn-start branch March 8, 2022 21:14
@0x46616c6b 0x46616c6b added the bug Something isn't working label Mar 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants