Skip to content

Cannot find module 'babel-runtime/helpers/extends' #2

@lawrence-laz

Description

@lawrence-laz

I installed your package on expo app and got the following error while trying to run the application:

Android Bundling failed 657ms
index.js: [BABEL]: Cannot find module 'babel-runtime/helpers/extends'
Require stack:
- /src/frontend/node_modules/babel-plugin-git-version/lib/index.js
- /src/frontend/node_modules/@babel/core/lib/config/files/module-types.js
- /src/frontend/node_modules/@babel/core/lib/config/files/configuration.js
- /src/frontend/node_modules/@babel/core/lib/config/files/index.js
- /src/frontend/node_modules/@babel/core/lib/index.js
- /src/frontend/node_modules/metro-transform-worker/src/index.js
- /src/frontend/node_modules/metro/src/DeltaBundler/Worker.js
- /src/frontend/node_modules/jest-worker/build/workers/processChild.js (While processing: /src/frontend/node_modules/babel-plugin-git-version/lib/index.js)

I am using:

"babel-plugin-git-version": "^0.2.0",
"@babel/runtime": "^7.16.7",

I realize that this is quite an old project, but I want to make sure if this looks like something is wrong with my setup, or is the project just out of date and no longer supported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions