washishi@ubuntu:~/stack-chan/firmware$ npm run setup
> stack-chan@0.2.1 setup
> xs-dev setup
Setting up Linux tools!
? Installing dependencies.../home/washishi/stack-chan/firmware/node_modules/gluegun/build/index.js:15
throw up;
^
Error: Command failed with exit code 1: sudo --askpass --preserve-env apt-get install --yes gcc git wget make libncurses-dev flex bison gperf
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
sudo: no password was provided
at makeError (/home/washishi/stack-chan/firmware/node_modules/execa/lib/error.js:60:11)
at handlePromise (/home/washishi/stack-chan/firmware/node_modules/execa/index.js:118:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
shortMessage: 'Command failed with exit code 1: sudo --askpass --preserve-env apt-get install --yes gcc git wget make libncurses-dev flex bison gperf',
command: 'sudo --askpass --preserve-env apt-get install --yes gcc git wget make libncurses-dev flex bison gperf',
escapedCommand: 'sudo --askpass --preserve-env apt-get install --yes gcc git wget make libncurses-dev flex bison gperf',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: undefined,
stderr: 'qt.qpa.xcb: could not connect to display \n' +
'qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.\n' +
'This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.\n' +
'\n' +
'Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.\n' +
'\n' +
'sudo: no password was provided',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
不具合の概要
npm run setup
に失敗する再現手順 不具合を再現できる手順を記述してください
npm run setup
を実行する想定する挙動 環境構築が正しく行われる
環境 (次の項目を埋めてください):
dev/v1.0
の最新その他
Discordで @mongonta0716 さん、 @washishi さんから報告いただきました。