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

Error: Invalid/missing file #42

Open
menglingyu opened this issue Sep 14, 2019 · 1 comment
Open

Error: Invalid/missing file #42

menglingyu opened this issue Sep 14, 2019 · 1 comment

Comments

@menglingyu
Copy link

menglingyu commented Sep 14, 2019

I use the code https://github.com/julien-c/epub/blob/master/example/example.js in my project

image

var EPub = require("epub");

var epub = new EPub("./111.epub", "/imagewebroot/", "/articlewebroot/");
epub.on("error", function(err){
    console.log("ERROR\n-----");
    throw err;
});
Error: Invalid/missing file
    at EPub.open (/Users/menglingyu/mly/anywhere-reader/node_modules/epub/epub.js:103:32)
    at EPub.parse (/Users/menglingyu/mly/anywhere-reader/node_modules/epub/epub.js:89:14)
    at Object.<anonymous> (/Users/menglingyu/mly/anywhere-reader/epub-dome/index.js:38:6)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Function.Module.runMain (module.js:693:10)
    at startup (bootstrap_node.js:191:16)
@MrtnvM
Copy link

MrtnvM commented Jul 30, 2021

The same problem. Please, help!

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

2 participants