Skip to content

Dependency not found: babel-runtime/regenerator #119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
uboat46 opened this issue Nov 27, 2018 · 8 comments
Closed

Dependency not found: babel-runtime/regenerator #119

uboat46 opened this issue Nov 27, 2018 · 8 comments

Comments

@uboat46
Copy link

uboat46 commented Nov 27, 2018

USING

"dependencies": {
   "animejs": "^2.2.0",
   "axios": "^0.18.0",
   "cheerio": "^1.0.0-rc.2",
   "firebase": "^5.5.8",
   "nuxt": "^2.2.0",
   "require": "^2.4.20",
   "vue-pdf": "^4.0.0",
   "vuelidate": "^0.7.4",
   "vuetify": "^1.3.6"
 },
 "devDependencies": {
   "babel-eslint": "^10.0.1",
   "eslint": "^5.7.0",
   "eslint-config-standard": "^12.0.0",
   "eslint-loader": "^2.1.1",
   "eslint-plugin-html": "^4.0.6",
   "eslint-plugin-import": "^2.14.0",
   "eslint-plugin-node": "^7.0.1",
   "eslint-plugin-promise": "^4.0.1",
   "eslint-plugin-standard": "^4.0.0",
   "stylus": "^0.54.5",
   "stylus-loader": "^3.0.2"
 }

In Component.vue

<template>
  <pdf :src="'~/assets/planes/actuaria.pdf'"></pdf>
</template>

<script>
import pdf from 'vue-pdf'

export default {
  components: {
    pdf
  }
}
</script>

On Terminal

This dependency was not found:

* babel-runtime/regenerator in ./node_modules/pdfjs-dist/lib/web/ui_utils.js

To install it, you can run: npm install --save babel-runtime/regenerator
@FranckFreiburger
Copy link
Owner

does installing babel-runtime/regenerator solve the issue ?

@wangyalijas
Copy link

I have the same problem. I want to know how to solve it.

@nassan
Copy link

nassan commented Dec 24, 2018

I solved it by installing babel-runtime, because I had an error installing babel-runtime/regenerator as npm does not see it as a package.

In other words, I ran npm install --save babel-runtime

@akaHeimdall
Copy link

Just thought I'd add to what @nassan stated: installing babel-runtime solves the problem. Thanks.

@FranckFreiburger
Copy link
Owner

Duplicate of #13

@FranckFreiburger FranckFreiburger marked this as a duplicate of #13 Jan 29, 2019
@jin-yong-yang
Copy link

npm install --save @babel/runtime

@lemon-Boy
Copy link

error is still exit after npm install --save babel-runtime

@stemount
Copy link

For anyone still looking, npm install --save @babel/runtime is the way to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants