Module not found: Error: Can't resolve '@babel/runtime/regenerator'
See original GitHub issue- vue-pdf version: latest vue-pdf at this time of making issue
- vue.js version: 2.6.10
- webpack version: 3.11.0
- browser version: latest google chrome
- OS version: mac os catalina
i got this error when just want to import the file to my vue js page
ERROR in ./node_modules/pdfjs-dist/lib/web/ui_utils.js
Module not found: Error: Can't resolve '@babel/runtime/regenerator' in '/Users/tony/Sites/bkcuvue/node_modules/pdfjs-dist/lib/web'
@ ./node_modules/pdfjs-dist/lib/web/ui_utils.js 49:42-79
@ ./node_modules/pdfjs-dist/lib/web/pdf_link_service.js
@ ./node_modules/vue-pdf/src/pdfjsWrapper.js
@ ./node_modules/babel-loader/lib?{"cacheDirectory":true,"presets":[["env",{"modules":false,"targets":{"browsers":["> 2%"],"uglify":true}}]],"plugins":["transform-object-rest-spread",["transform-runtime",{"polyfill":false,"helpers":false}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./node_modules/vue-pdf/src/vuePdfNoSss.vue
@ ./node_modules/vue-pdf/src/vuePdfNoSss.vue
@ ./node_modules/babel-loader/lib?{"cacheDirectory":true,"presets":[["env",{"modules":false,"targets":{"browsers":["> 2%"],"uglify":true}}]],"plugins":["transform-object-rest-spread",["transform-runtime",{"polyfill":false,"helpers":false}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./resources/assets/js/views/pertemuanBKCU/detail.vue
@ ./resources/assets/js/views/pertemuanBKCU/detail.vue
@ ./resources/assets/js/routes.js
@ ./resources/assets/js/app.js
@ multi ./resources/assets/js/app.js ./resources/assets/sass/app.scss
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Error: Can't resolve 'babel-runtime/regenerator' · Issue #310 ...
Hi, I'm facing build error propably due to babel versions conflict. ... Module not found: Error: Can't resolve 'babel-runtime/regenerator' # ...
Read more >Unable to resolve babel-runtime/regenerator - Stack Overflow
My iOS simulator is giving me a red screen and saying this: Unable to resolve module /Users/bobby/node_modules/babel-runtime/regenerator from / ...
Read more >Module not found: Can't resolve @babel/runtime/helpers
To solve the error "Module not found: Error: Can't resolve '@babel/runtime/helpers'", make sure to install the @babel/runtime package by opening your terminal ...
Read more >VueJS - Module not found: Error: Can't resolve '@babel ...
It's looking for a dependency that is not installed. In your case you can do npm i babel-runtime --save to install that dependency...
Read more >@babel/runtime - npm
babel's modular runtime helpers. Latest version: 7.20.7, last published: 6 days ago. Start using @babel/runtime in your project by running ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
okay after entire day for searching i got solution that works for me… just run this
npm install --save @babel/runtime
and it worksno luck for me… i still get the same error… wonder why