Skip to content

Error: Cannot find module 'babel-runtime/regenerator' #64

Open
@aadityabhatia

Description

@aadityabhatia

Installed koa-access by running npm install @uswitch/koa-access. Adding require('@uswitch/koa-access') to my code results in the following error:

Error: Cannot find module 'babel-runtime/regenerator'

node_modules/@uswitch/koa-access/build/koa-access.js references babel-runtime/regenerator but babel-runtime is not a dependency. Possibly the build process is broken.

Running on node v12.16.2 with npm v6.14.4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions