Cannot read properties of undefined (reading 'catch')
See original GitHub issuerendering error:
vue.esm.js?a026:1906
TypeError: Cannot read properties of undefined (reading 'catch')
at PDFJSWrapper.renderPage (pdfjsWrapper.js?a068:196)
at VueComponent.resize (componentFactory.js?0d60:75)
at invokeWithErrorHandling (vue.esm.js?a026:1872)
at VueComponent.invoker (vue.esm.js?a026:2197)
at invokeWithErrorHandling (vue.esm.js?a026:1872)
at VueComponent.Vue.$emit (vue.esm.js?a026:3912)
at VueComponent.handler (resize-sensor.vue?c7ed:49)
at invokeWithErrorHandling (vue.esm.js?a026:1872)
at Watcher.run (vue.esm.js?a026:4593)
at flushSchedulerQueue (vue.esm.js?a026:4335)
this pdfRender.cancel()
is undefined
environment: vue-pdf: 4.3.0 vue.js: 2.6.14 webpack: 5.50.0 browser: Microsoft Edge 94.0.989.0 and FireFox 93.0a1 os: macos 11.5.2
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
TypeError: Cannot read properties of undefined (reading 'catch')
The error TypeError: Cannot read properties of undefined (reading 'catch') means that you are calling catch on undefined .
Read more >TypeError: Cannot read properties of undefined ... - GitHub
TypeError : Cannot read properties of undefined (reading 'catch') #369. Open. syamsoul opened this issue on Apr 24 · 3 comments.
Read more >Uncaught TypeError: Cannot read property of undefined In
JavaScript TypeError is thrown when an operand or argument passed to a function is incompatible with the type expected by that operator or...
Read more >Cannot Read Property of Undefined in JavaScript - Rollbar
TypeError : Cannot read property of undefined occurs when a property is read or a function is called on an undefined variable.
Read more >error typeerror: cannot read properties of undefined ... - You.com
It is because there is no res object in the getAllUsers function. You need to create a mock response and request and pass...
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
sorry for the question… is this fix now available for npm update? thanks
“pdfjs-dist”: “2.5.207”, “vue-pdf”: “4.2.0” 锁定这两个版本完美解决