yarn create expo-app testvfile1
- Replace
expo start --ios
withexpo run:ios
on package.json - Replace
expo start --android
withexpo run:android
on package.json - Add
"vfile": "^6.0.0"
to the dependencies - Add
import { VFile } from "vfile";
to App.js
If you run the project before doing step 4 and 5 the problem is not present.
yarn install
yarn ios
oryarn android
iOS/Android Bundling failed 2108ms (node_modules/expo/AppEntry.js)
Unable to resolve "vfile/do-not-use-conditional-minpath" from "node_modules/vfile/lib/index.js"
The bundling can't deal with this change on vfile added on version 6.0.0
If you run the project before doing step 4 and 5 the problem is not present.
If you change the dependency to "vfile": "^5.0.0"
the problem is not present.
There's this discussion about a similar problem on the vfile repo, but the problem itself is not on that package but on how expo bundles it.