Skip to content

Error when I use async/await: regenerator-runtime/runtime was not found #2551

@veah

Description

@veah

Version

3.0.3

Reproduction link

https://github.com/veah/blogs

Node and OS info

Node 8.9.4 / NPM 5.8.0/ Mac OS

Steps to reproduce

  1. download
  2. npm install
  3. npm run serve

What is expected?

Everything goes well

What is actually happening?

Error in command line:

This dependency was not found:

regenerator-runtime/runtime in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/HelloWorld.vue?vue&type=script&lang=js&

I thought regenerator-runtime has already been installed in ./node_modules/@vue/babel-preset-app. Shouldn't this regenerator-runtime be found in @vue/babel-preset-app ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions