Unable to resolve module ../extends/_index.mjs while running expo publish

Issuing expo publish i came across the error below. I have not made any changes on the package versions. It run successfully until two days before. Any help will be useful.

Expo SDK: 38.0.0

Workflow: Managed

Starting Metro Bundler

Building iOS bundle

Unable to resolve module …/extends/_index.mjs from /mobile/node_modules/@babel/runtime/helpers/esm/extends.js:

None of these files exist:

[node_modules/@babel/runtime/helpers/extends/_index.mjs(.native|.ios.expo.ts|.native.expo.ts|.expo.ts|.ios.expo.tsx|.native.expo.tsx|.expo.tsx|.ios.expo.js|.native.expo.js|.expo.js|.ios.expo.jsx|.native.expo.jsx|.expo.jsx|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json)

node_modules/@babel/runtime/helpers/extends/_index.mjs/index(.native|.ios.expo.ts|.native.expo.ts|.expo.ts|.ios.expo.tsx|.native.expo.tsx|.expo.tsx|.ios.expo.js|.native.expo.js|.expo.js|.ios.expo.jsx|.native.expo.jsx|.expo.jsx|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json)

export { default } from “…/extends/_index.mjs”

Failed building JavaScript bundle.

Unable to resolve module …/extends/_index.mjs from /mobile/node_modules/@babel/runtime/helpers/esm/extends.js:

None of these files exist:

node_modules/@babel/runtime/helpers/extends/_index.mjs(.native|.ios.expo.ts|.native.expo.ts|.expo.ts|.ios.expo.tsx|.native.expo.tsx|.expo.tsx|.ios.expo.js|.native.expo.js|.expo.js|.ios.expo.jsx|.native.expo.jsx|.expo.jsx|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json)

node_modules/@babel/runtime/helpers/extends/_index.mjs/index(.native|.ios.expo.ts|.native.expo.ts|.expo.ts|.ios.expo.tsx|.native.expo.tsx|.expo.tsx|.ios.expo.js|.native.expo.js|.expo.js|.ios.expo.jsx|.native.expo.jsx|.expo.jsx|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json)

export { default } from “…/extends/_index.mjs”

Packager URL http://127.0.0.1:19001/node_modules/expo/AppEntry.bundle?dev=false&hot=false&minify=true&platform=ios returned unexpected code 500. Please open your project in the Expo app and see if there are any errors. Also scroll up and make sure there were no errors or warnings when opening your project.

Cleaning up file based variables00:01

ERROR: Job failed: exit code 1

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