epubjs-reader
epubjs-reader copied to clipboard
epub.js:12759 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'getAttribute')
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):