Files generated to a wrong folder on a Mac

Please note: this issue was fixed in v.1.0.12 (Apr 2021) but may still effect some systems.

The issue

When a prebuilt binary version of SPX is downloaded, extracted, made executable, and run the first time the config.json file and folders LOG and DATAROOT are generated to the current user's home directory and not the installation directory.


The root cause of the issue is that on Mac the home directory is the default directory when an "open" command is executed in the operating system. This folder is being reported to SPX at startup and it generates files to "that" folder.


This is an #issue-3 in source the code repository.

The fix

Use the command line to start the application!


At the moment, the only reliable way to execute the binary program on Mac is by using the Terminal and NOT by double-clicking on the SPX icon in Finder.


  1. Open Terminal
  2. Navigate to your SPX directory with cd command, such as
    cd /myApps/spxgc/
  3. run SPX-GC from the command line with ./SPX_macos64
  4. Open your browser (Chrome recommended) and load up the SPX from the URL shown in the Terminal.

Know how to fix this?

If you want to share your knowledge on how to fix this issue in Node + pkg (packager) + Mac -combo, please contact us and let us know.

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us