Comments (4)
Also I browsed the commits linked to that metro issue, it looks like you might be adjust the metro config as a workaround:
voidrender/demo-react-native-emotion@d868225
from country-coder.
This is a known issue with metro: facebook/metro#535
It's going to be more of an issue going forward as maintainers upgrade their JavaScript projects to ESM. The meaning of the .js
file extension is ambiguous in Node - it depends on whether the package maintainer has specified "type": "module"
(by default, js files are treated as ESM) or "type": "commonjs"
(by default, js files are treated as cjs).
So whichever a maintainer picks, we need those .cjs
or .mjs
extensions to support the other way of doing things, at least for a while.
from country-coder.
Amazing explanation and thank you for the action item. The facebook metro team should really permanently fix this from their side so people can upgrade long term.
I confirm it is now working as expected this link you posted, and it works beautifully.
Have a great day! Love the package, and keep up the amazing work!
from country-coder.
Have a great day! Love the package, and keep up the amazing work!
Thank you! I'm happy you are finding it useful!
from country-coder.
Related Issues (20)
- Reduce package/bundle size - dynamically import borders.json HOT 1
- FeedBack - Code HOT 1
- Northen Cyprus' ISO code HOT 2
- ISO 3166 of countries with Sovereign states HOT 1
- TW polygon missing Lienchiang County and parts of Kinmen County (Wuqiu) HOT 1
- Get rid of prettier
- ISO 639 Language Codes HOT 6
- Types not added in package.json exports HOT 1
- Chukchi Peninsula shows as being in Europe instead of Asia
- Support bbox query? HOT 2
- [wrong repo]
- Sub-regions, repeated data and .geojson hosting HOT 1
- United Kingdom HOT 12
- We might be using "exports" wrong HOT 2
- ESM export broken in react-native 0.64.2 (non-expo) HOT 4
- France: EU + Europe missing ? HOT 3
- Fully ESM compatible ?
- Don't use for..in to iterate over arrays
- Missing triangle on Swiss border HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from country-coder.