-
Notifications
You must be signed in to change notification settings - Fork 20
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
"File not found" error for .asar files #18
Comments
Could you give a minimal code example to reproduce the error? |
Sure: require("md5-file")( "/path/to/file.asar", (err, hash) => { Actually, same error occurs with fs.readFile: require("fs").readFile("/path/to/file.asar", (err, data) => { |
Seems to be a known issue: |
works fine when using: |
Hmm, I guess that we could add support for passing in a custom |
process.noAsar = true; Don't use it. It obviously breaks support for app.asar (when its running in production), my bad.
|
When processing files with .asar file extension, md5-file module reports a "file not found error".
The text was updated successfully, but these errors were encountered: