Skip to content
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

epub.js:12759 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'getAttribute') #63

Open
wizardforcel opened this issue May 26, 2022 · 0 comments

Comments

@wizardforcel
Copy link

console error:

epub.js:12759 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'getAttribute')
    at Navigation.ncxItem (epub.js:12759:22)
    at Navigation.parseNcx (epub.js:12734:17)
    at Navigation.parse (epub.js:12495:21)
    at new Navigation (epub.js:12467:9)
    at epub.js:10416:25
ncxItem @ epub.js:12759
parseNcx @ epub.js:12734
parse @ epub.js:12495
Navigation @ epub.js:12467
(匿名) @ epub.js:10416
Promise.then(异步)
unpack @ epub.js:10349
(匿名) @ epub.js:10185
Promise.then(异步)
openPackaging @ epub.js:10183
(匿名) @ epub.js:10148
Promise.then(异步)
openEpub @ epub.js:10147
Promise.then(异步)
open @ epub.js:10117
Book @ epub.js:10084
ePub @ epub.js:9804
EPUBJS.Reader @ reader.js:67
root.ePubReader @ reader.js:10
document.onreadystatechange @ (索引):24
epub.js:7295 Uncaught TypeError: Cannot read properties of undefined (reading 'pageFromCfi')
    at Rendition.located (epub.js:7295:39)
    at Rendition.reportedLocationAfterRAF (epub.js:7188:26)

sample epub (need to unzip):

file.epub.zip

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

1 participant