Open
Description
Environment
- macOS Apple Silicon (
arm64) - Node.js:
v20.20.2 - Dart SDK:
3.11.4 - npm install method:
npm install -g flutter-skillProblem
Running:
flutter-skill --helpcrashes immediately with:
Error: spawn Unknown system error -8
at ChildProcess.spawn (node:internal/child_process:420:11)
at spawn (node:child_process:762:9)
at runNativeBinary (.../flutter-skill/bin/cli.js:125:18)Investigation
Architecture checks:
uname -m
# arm64
node -p process.arch
# arm64
dart --version
# Dart SDK version: 3.11.4 on "macos_arm64"The package contains only Dart source files and no valid native executable:
dart/bin/server.dartThe launcher in bin/cli.js attempts to call:
spawn(binaryPath, args)inside runNativeBinary() before fallback logic executes.
On Apple Silicon this throws immediately with:
Unknown system error -8which prevents fallback to runWithDart().
Additional Issue
Trying to run the Dart server manually also fails:
dart run bin/server.dartError:
Error: Couldn't resolve the package 'flutter_skill'Reacted by Delonzek, Emostar, Chit Nan and Juras Norkus
Metadata
Metadata
Assignees
Labels
No labels
Activity
ihancock commentedon Jul 31, 2026
I submitted #55 that should resolve this and future releases
JohnGalt1717 commentedon Aug 27, 2026
FYI, if you install this with dart pub global activate flutter-skills
And make sure the pub cache is on your path.
And then use this:
It works on a mac with the currently released version (the above merge has not been released to npm as far as I can tell)
fix(npm): make the Dart fallback usable on Windows and diagnose failures