Added internal-ip to devDependencies in native package.json.
I used the same exact version as the @expo/cli uses, so the yarn.lock remains unchanged.
The latest version of this library (7.0.0) is ESM-only, this is why the old 4.3.0 is used.
Differential D6266
[native] Add 'internal-ip' dependency bartek on Jan 14 2023, 8:30 AM. Authored by Tags None Referenced Files
Details
Added internal-ip to devDependencies in native package.json. The latest version of this library (7.0.0) is ESM-only, this is why the old 4.3.0 is used. yarn cleaninstall doesn't do any changes to yarn.lock
Diff Detail
Event TimelineComment Actions Expo-CLI that parses app.config.js doesn't support ESM and fails with error similar to this: Module 'internal-ip' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported synchronously. Use dynamic import instead. Dynamic imports cannot be used, because the expo config must be resolved synchronously |