futurepress / epubjs-rn

EpubJS React Native Example
Other
270 stars 150 forks source link

Undefined is not an object (evaluating 'this.createBlob') #24

Open Leafeanking opened 7 years ago

Leafeanking commented 7 years ago

I wish there was just a forum or something to chat about issues since this is probably a one off thing with config of my server but I don't know. I'm having a strange issue when I try to get Epub files from my heroku app. I've tried two .epub's so far. The first says Error: Message length must be 8 and the second is as in the title here `undefined is not an object (evaluating 'this.createBlob'). If anyone has run into this and could shed some light that would be great.

valinaga commented 7 years ago

[UPDATE] You have to use streamer like in the sample app. Do not provide the url directly to the Epub src.

rushiraj111 commented 6 years ago

I am getting similar error: I get this error even if I do not use Epubjs-rn but only import it.

Initially I got error of Ambiguous resolution I resolved it by deleting react-native from epubjs-rn directory. and now it is showing this error.