Skip to content

Conversation

@djimit
Copy link

@djimit djimit commented Dec 15, 2025

No description provided.

- Changed TypeScript from ^5.9.2 to ^5.8.0 in package.json
- Updated package-lock.json with compatible version 5.8.3
- Resolves compatibility issue with typescript-eslint packages
- Fixes CI build errors related to TypeScript version requirements

The typescript-eslint packages (v6.21.0 and v8.37.0) require
TypeScript < 5.9.0, so downgrading to 5.8.x resolves the issue.
- Changed from './bin/claude-flow --version' to 'bash bin/claude-flow --version'
- bin/claude-flow is a shell script, not a JavaScript file
- On Windows, running './bin/claude-flow' caused Node.js to try parsing it
- Using 'bash' explicitly works cross-platform on all GitHub Actions runners
- Resolves SyntaxError: Invalid or unexpected token on line 2 (#)

The error occurred because Node.js attempted to parse the shell script
as JavaScript when the file was executed without specifying the
interpreter. Using 'bash' explicitly ensures the script is run
correctly on all platforms (Linux, macOS, Windows).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants