Skip to content

Replacing bash script with Node.js wrapper for expf command#87

Merged
wesleytodd merged 5 commits intomainfrom
windows-support
Jan 14, 2026
Merged

Replacing bash script with Node.js wrapper for expf command#87
wesleytodd merged 5 commits intomainfrom
windows-support

Conversation

@GroophyLifefor
Copy link
Copy Markdown
Member

Basicly, solves The system cannot find the path specified. in Windows when calling expf with saving Symlink support.

Tested in Windows but not in Unix, I guess you can help me on that @wesleytodd .


This pull request updates how JSON configuration files are dynamically imported in both the CLI and local runner packages, ensuring compatibility with Node.js ESM module resolution. It also changes the CLI entry point script. The most important changes are:

Dynamic JSON Import Improvements:

  • In both packages/cli/load.mjs and packages/runner-local/setup.mjs, dynamic imports of JSON files now use pathToFileURL to convert file paths to file URLs before importing, which is required for ESM module compatibility in Node.js.

CLI Entry Point Update:

  • The CLI entry point in packages/cli/package.json is changed from bin/expf.sh (a shell script) to bin/expf-wrapper.mjs (an ES module), aligning the CLI with modern Node.js practices.

@GroophyLifefor GroophyLifefor self-assigned this Dec 31, 2025
@GroophyLifefor GroophyLifefor added the bug Something isn't working label Dec 31, 2025
@GroophyLifefor
Copy link
Copy Markdown
Member Author

Requested changes made and tested, just waits to quick review and merge from Wes.

Copy link
Copy Markdown
Member

@wesleytodd wesleytodd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally and just needed to update the permissions to be executable. LGTM!

@wesleytodd wesleytodd merged commit a1fc6dc into main Jan 14, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants