"Working with monorepos" documentation seems to have wrong path

Please provide the following:

  1. SDK Version: 6.3.1
  2. Platforms(Android/iOS/web/all): Android
  3. Add the appropriate “Tag” based on what Expo library you have a question on.

I followed all instructions here Working with monorepos - Expo Documentation. It builds and works for web. It does not work on Android with the error (on emulated and real devices):

Android Bundling failed 911ms
Unable to resolve "@babel/runtime/helpers/interopRequireDefault" from "index.js"

I changed

const workspaceRoot = path.resolve(projectRoot, '../..');

to

const workspaceRoot = path.resolve(projectRoot, '../');

And now it works. I am on Windows.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.