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

Crash on Mac build when looking for vesselData.xml #20

Open
IvanSanchez opened this issue Jul 31, 2014 · 2 comments
Open

Crash on Mac build when looking for vesselData.xml #20

IvanSanchez opened this issue Jul 31, 2014 · 2 comments

Comments

@IvanSanchez
Copy link
Owner

The packaged 0.3.1 crashes when trying to resolve file paths when looking for the vesselData.xml file:

TypeError: Arguments to path.resolve must be strings
    at Object.exports.resolve (path.js:327:15)
    at Object.eval ([whatever]/artemis-glitter-0.3.1.app/Contents/Resources/app.nw/vesselData.js:13:24)

Check the values of process.execPath and module.uri when running on a Mac.

@IvanSanchez
Copy link
Owner Author

It looks like the problem only exists when the node-webkit is run in a sandbox. Running from source works as expected.

@IvanSanchez
Copy link
Owner Author

An alternative is using App.dataPath from node-webkit, instead of the dir glitter is run from.

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

1 participant