[App] Arch build error
Here the error, please help ...
OPTIONS {
src2: 'src2/',
css: 'styles.css',
prefix: 'void-',
scope: 'void-scope',
ignoreprefix: '@@'
}
⏳ Prefixifying classNames...
./src --> src2/
✅ Successfully prefixified classNames
⏳ Prefixifying css file...
src2/styles.css --> src2/styles.css (replace)
Error: Error: Command failed: tailwindcss -i src2/styles.css --prefix "void-"
/bin/sh: ligne 1: tailwindcss: commande introuvable
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at ChildProcess.exithandler (node:child_process:414:12)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1101:16)
at Socket.<anonymous> (node:internal/child_process:456:11)
at Socket.emit (node:events:518:28)
at Pipe.<anonymous> (node:net:351:12) {
code: 127,
killed: false,
signal: null,
cmd: 'tailwindcss -i src2/styles.css --prefix "void-"',
stdout: '',
stderr: '/bin/sh: ligne 1: tailwindcss: commande introuvable\n'
}
node:internal/errors:983
const err = new Error(message);
^
Error: Command failed: npx scope-tailwind ./src -o src2/ -s void-scope -c styles.css -p "void-"
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at checkExecSyncError (node:child_process:882:11)
at execSync (node:child_process:954:15)
at file:///home/vi/.cache/yay/void-git/src/void/src/vs/workbench/contrib/void/browser/react/build.js:148:2
at ModuleJob.run (node:internal/modules/esm/module_job:271:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:578:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:116:5) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 82285,
stdout: null,
stderr: null
}
Node.js v22.14.0
==> ERREUR : Une erreur s’est produite dans build().
Abandon…
-> erreur lors de la compilation de : void-git-exit status 4
-> Échec de l'installation des paquets suivants. Une intervention manuelle est requise :
void-git - exit status 4
Thanks
The recommended node.js version is 20.18.2 you are using 22.14.0
Also could you give us the command history who leads you to this error ?
Hey, I type this yay -S void-git --overwrite "*" --noconfirm (for quick install), same without overwrite/noconfirm)
This command doesn't exist in the documentation. I don't know what you are trying to do.
Please follow the guide, https://github.com/voideditor/void/blob/main/HOW_TO_CONTRIBUTE.md
Here is the command I use to build the complete editor
npm install
npm run buildreact
npm run watch (wait a something like five minutes for everything to be watched)
to check everything is ok :
./scripts/code.sh
Then : (for Mac OS Sillicon)
npm run gulp vscode-darwin-arm64
Maybe trying to replace the darwin-arm64 suffix by your arch will work.
Void's build pipeline here might be relevant - https://github.com/voideditor/void-builder