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 while executing asar archive #34

Open
JW-Vinayak opened this issue May 20, 2015 · 2 comments
Open

Error while executing asar archive #34

JW-Vinayak opened this issue May 20, 2015 · 2 comments

Comments

@JW-Vinayak
Copy link

Hi,

I am trying to run an app with Electron using asar archive. It gives archive parsing error.

This is my app that I have created for debugging purpose which gives the same error. When executed directly with Electron, it works. I created an archive with asar pack calculator app.asar

And then put this newly created archive under electron-v0.25.3-darwin-x64/Electron.app/Contents/Resources and execute it. It gives following error.

Lion:~ vinayakmote$ /Users/vinayakmote/Downloads/electron-v0.25.3-darwin-x64/Electron.app/Contents/MacOS/Electron
[4555:0520/152250:ERROR:archive.cc(147)] Failed to parse header: Line: 1, column: 478873, Syntax error.
[4557:0520/152251:INFO:renderer_main.cc(207)] Renderer process started

Can you please give me some pointers on what could be going wrong here?

@golammott
Copy link

While I am not a contributor, I had this same issue.

Theres is a bug in the current version of asar and the header is getting created incorrectly. I am looking into the issue a bit more.

I ran your app by packaging with asar version 0.4.4 instead of current version 0.6.1 and everything seems to be working.

@JW-Vinayak
Copy link
Author

Thanks for this info @golammott !

@zcbenz zcbenz added the bug label May 28, 2015
@stale stale bot added the wontfix label Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants