You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use file URL for dynamic imports to support Windows (#156)
* fix: use file URL for dynamic imports to support Windows
Node's ESM dynamic `import()` rejects bare absolute paths on Windows
because the drive letter (e.g. `C:`) is interpreted as an unsupported
URL scheme. Wrap the path with `pathToFileURL()` so it works
cross-platform.
Fixes#155
* fix: comprehensive Windows compatibility fixes
- Add cross-platform spawn helper (shell: true on Windows for .cmd shims)
- Fix URL.pathname in bin.ts (use fileURLToPath for Windows drive letters)
- Fix node_modules/.bin resolution to prefer .cmd on Windows
- Fix all env file parsers to handle CRLF line endings
- Replace opn with open for better Windows URL handling
- Add SIGBREAK handler for Windows signal handling
- Fix Prettier step to use spawn with array args (safe path handling)
- Fix package install to use spawn with array args (safe special chars)
- Fix Gradle wrapper resolution for Windows (gradlew.bat)
- Fix Goose agent config dir to use %APPDATA% on Windows
- Fix vercel spawn calls with shell option
Ref #155
* chore: formatting
0 commit comments