Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors - any advice? #8

Open
iantiktaktoe opened this issue Feb 5, 2023 · 0 comments
Open

Errors - any advice? #8

iantiktaktoe opened this issue Feb 5, 2023 · 0 comments

Comments

@iantiktaktoe
Copy link

Windows 10 prof
Docker desktop
VS Code

Cloned your repo and reopend in VS Code

Initial error with git, so added this line:

RUN git config --global --add safe.directory /opt/flutter

Reopened, all builds until i get to the end and then i get an error with kvm

Any advice? Thanks!

@anaselhajjaji

Start: Run: docker events --format {{json .}} --filter event=start
[111678 ms] Start: Starting container
[111678 ms] Start: Run: docker run --sig-proxy=false -a STDOUT -a STDERR --mount type=bind,source=d:\Work\FlutterDev\projects\flutter-dev-container,target=/workspaces/flutter-dev-container,consistency=cached --mount type=volume,src=vscode,dst=/vscode -l devcontainer.local_folder=d:\Work\FlutterDev\projects\flutter-dev-container -l devcontainer.config_file=d:\Work\FlutterDev\projects\flutter-dev-container.devcontainer\devcontainer.json --device=/dev/kvm -v /usr/lib/wsl:/usr/lib/wsl -e DISPLAY=:0 -v /tmp/.X11-unix:/tmp/.X11-unix --entrypoint /bin/sh vsc-flutter-dev-container-421d5355087fab30e642f834c99e5e5b -c echo Container started
docker: Error response from daemon: error gathering device information while add
ing custom device "/dev/kvm": no such file or directory.
[112785 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=d:\Work\FlutterDev\projects\flutter-dev-container --filter label=devcontainer.config_file=d:\Work\FlutterDev\projects\flutter-dev-container.devcontainer\devcontainer.json
[113205 ms] Start: Run: docker inspect --type container aaf4cee6178b
[113603 ms] Error: Command failed: docker run --sig-proxy=false -a STDOUT -a STDERR --mount type=bind,source=d:\Work\FlutterDev\projects\flutter-dev-container,target=/workspaces/flutter-dev-container,consistency=cached --mount type=volume,src=vscode,dst=/vscode -l devcontainer.local_folder=d:\Work\FlutterDev\projects\flutter-dev-container -l devcontainer.config_file=d:\Work\FlutterDev\projects\flutter-dev-container.devcontainer\devcontainer.json --device=/dev/kvm -v /usr/lib/wsl:/usr/lib/wsl -e DISPLAY=:0 -v /tmp/.X11-unix:/tmp/.X11-unix --entrypoint /bin/sh vsc-flutter-dev-container-421d5355087fab30e642f834c99e5e5b -c echo Container started
[113603 ms] trap "exit 0" 15
[113603 ms] exec "$@"
[113603 ms] while sleep 1 & wait $!; do :; done -
[113603 ms] at fie (c:\Users\Ian.vscode\extensions\ms-vscode-remote.remote-containers-0.275.0\dist\spec-node\devContainersSpecCLI.js:1915:1355)
[113603 ms] at P7 (c:\Users\Ian.vscode\extensions\ms-vscode-remote.remote-containers-0.275.0\dist\spec-node\devContainersSpecCLI.js:1915:1291)
[113603 ms] at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
[113603 ms] at async Fie (c:\Users\Ian.vscode\extensions\ms-vscode-remote.remote-containers-0.275.0\dist\spec-node\devContainersSpecCLI.js:1921:2093)
[113603 ms] at async Vf (c:\Users\Ian.vscode\extensions\ms-vscode-remote.remote-containers-0.275.0\dist\spec-node\devContainersSpecCLI.js:1921:3241)
[113603 ms] at async eoe (c:\Users\Ian.vscode\extensions\ms-vscode-remote.remote-containers-0.275.0\dist\spec-node\devContainersSpecCLI.js:2045:17324)
[113603 ms] at async Qse (c:\Users\Ian.vscode\extensions\ms-vscode-remote.remote-containers-0.275.0\dist\spec-node\devContainersSpecCLI.js:2045:17065)
[113613 ms] Exit code 1
[113617 ms] Command failed: C:\Users\Ian\AppData\Local\Programs\Microsoft VS Code\Code.exe --ms-enable-electron-run-as-node c:\Users\Ian.vscode\extensions\ms-vscode-remote.remote-containers-0.275.0\dist\spec-node\devContainersSpecCLI.js up --user-data-folder c:\Users\Ian\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data --container-session-data-folder tmp/devcontainers-9934dbcf-5381-4abf-828f-f0fa2ac4f42e1675612290314 --workspace-folder d:\Work\FlutterDev\projects\flutter-dev-container --workspace-mount-consistency cached --id-label devcontainer.local_folder=d:\Work\FlutterDev\projects\flutter-dev-container --id-label devcontainer.config_file=d:\Work\FlutterDev\projects\flutter-dev-container.devcontainer\devcontainer.json --log-level debug --log-format json --config d:\Work\FlutterDev\projects\flutter-dev-container.devcontainer\devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[113617 ms] Exit code 1

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

No branches or pull requests

1 participant