Git Product home page Git Product logo

flutter_vega_codespace's Introduction

flutter_vega_codespace

A demo project to check flutter in Github Codespaces. It also has configurations for Gitpod and hence can be opened there as well.

Use it codespace

  1. Sign up for Github Codespace beta.
  2. Click Code -> Open with Codespace and then click on New codespace
    • This should open this repo in a Github code space setup with latest flutter master channel and flutter-web enabled.
  3. In the terminal run the flutter app targeting a web-server.
    • flutter run -d web-server --web-hostname=0.0.0.0 --web-port=3000
  4. Once the server starts click on the http://localhost:3000 link and this should open new tab with the live preview.

Use it in Gitpod

  1. I assume you need a gitpod account to open it in Gitpod. Create one before next step.
  2. Then click the following button. Open in Gitpod

flutter_vega_codespace's People

Contributors

abhilash-chandran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

flutter_vega_codespace's Issues

error setting up codespace

image
View logs
Host information
----------------
OS: Ubuntu 22.04.4 LTS (stable release)
Image details: https://github.com/github/codespaces-host-images/blob/main/README.md
----------------
Configuration starting...
Cloning...
$ df /var/lib/docker
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/loop3      32847680 21432468   9721112  69% /var/lib/docker
df process exited with exit code 0
$ git -C "/var/lib/docker/codespacemount/workspace" clone --branch "master" --depth 1 https://github.com/Abhilash-Chandran/flutter_vega_codespace "/var/lib/docker/codespacemount/workspace/flutter_vega_codespace"
Cloning into '/var/lib/docker/codespacemount/workspace/flutter_vega_codespace'...
git process exited with exit code 0
$ git -C "/var/lib/docker/codespacemount/workspace/flutter_vega_codespace" config --local remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
git process exited with exit code 0
Creating container...
$ devcontainer up --id-label Type=codespaces --workspace-folder /var/lib/docker/codespacemount/workspace/flutter_vega_codespace --mount type=bind,source=/.codespaces/agent/mount/cache,target=/vscode --user-data-folder /var/lib/docker/codespacemount/.persistedshare --container-data-folder .vscode-remote/data/Machine --container-system-data-folder /var/vscode-remote --log-level trace --log-format json --update-remote-user-uid-default never --mount-workspace-git-root false --omit-config-remote-env-from-metadata --skip-non-blocking-commands --skip-post-create --config "/var/lib/docker/codespacemount/workspace/flutter_vega_codespace/.devcontainer/devcontainer.json" --override-config /root/.codespaces/shared/merged_devcontainer.json --default-user-env-probe loginInteractiveShell --container-session-data-folder /workspaces/.codespaces/.persistedshare/devcontainers-cli/cache --secrets-file /root/.codespaces/shared/user-secrets-envs.json
[222 ms] @devcontainers/cli 0.56.1. Node.js v18.20.2. linux 6.5.0-1019-azure x64.
[2947 ms] Start: Run: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.56.1-1716097871456/Dockerfile-with-features -t vsc-flutter_vega_codespace-57f52621fa294a7567bb4afb8a4fe417a25462c6e0cf4e5a41fdbdbe95ead058 --target dev_containers_target_stage --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label /var/lib/docker/codespacemount/workspace/flutter_vega_codespace/.devcontainer
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile-with-features
#1 transferring dockerfile:
#1 transferring dockerfile: 1.35kB 0.0s done
#1 DONE 0.4s

#2 [internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.4s

#3 [internal] load metadata for docker.io/library/debian:stretch
#3 ...

#4 [auth] library/debian:pull token for registry-1.docker.io
#4 DONE 0.0s

#3 [internal] load metadata for docker.io/library/debian:stretch
#3 DONE 3.1s

#5 [dev_container_auto_added_stage_label 1/6] FROM docker.io/library/debian:stretch@sha256:c5c5200ff1e9c73ffbf188b4a67eb1c91531b644856b4aefe86a58d2f0cb05be
#5 resolve docker.io/library/debian:stretch@sha256:c5c5200ff1e9c73ffbf188b4a67eb1c91531b644856b4aefe86a58d2f0cb05be 0.1s done
#5 sha256:c5c5200ff1e9c73ffbf188b4a67eb1c91531b644856b4aefe86a58d2f0cb05be 1.21kB / 1.21kB done
#5 sha256:16ee3e11da473f6565ef94a715f1a38b3079e0664913be78869c336a71cb6085 529B / 529B done
#5 sha256:662c05203bab4c59568d24689fa5c3955439360a35c483178598d226b9a5ad10 1.46kB / 1.46kB done
#5 sha256:8372a04f222be82bf67eb0010a59644b1e52f1246b3da9034edaa98f3d591cae 0B / 45.43MB 0.1s
#5 sha256:8372a04f222be82bf67eb0010a59644b1e52f1246b3da9034edaa98f3d591cae 40.89MB / 45.43MB 0.5s
#5 sha256:8372a04f222be82bf67eb0010a59644b1e52f1246b3da9034edaa98f3d591cae 45.43MB / 45.43MB 0.6s
#5 sha256:8372a04f222be82bf67eb0010a59644b1e52f1246b3da9034edaa98f3d591cae 45.43MB / 45.43MB 0.8s done
#5 extracting sha256:8372a04f222be82bf67eb0010a59644b1e52f1246b3da9034edaa98f3d591cae
#5 extracting sha256:8372a04f222be82bf67eb0010a59644b1e52f1246b3da9034edaa98f3d591cae 2.1s done
#5 DONE 3.5s

#6 [dev_container_auto_added_stage_label 2/6] RUN apt-get update && apt-get -y install git curl unzip wget
#6 0.517 Ign:1 http://deb.debian.org/debian stretch InRelease
#6 0.571 Ign:2 http://deb.debian.org/debian stretch-updates InRelease
#6 0.619 Ign:3 http://deb.debian.org/debian stretch Release
#6 0.668 Ign:4 http://deb.debian.org/debian stretch-updates Release
#6 0.849 Ign:5 http://security.debian.org/debian-security stretch/updates InRelease
#6 0.903 Ign:6 http://security.debian.org/debian-security stretch/updates Release
#6 0.956 Ign:7 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
#6 1.008 Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
#6 1.035 Ign:9 http://deb.debian.org/debian stretch/main all Packages
#6 1.059 Ign:7 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
#6 1.112 Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
#6 1.163 Ign:7 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
#6 1.215 Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
#6 1.267 Ign:7 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
#6 1.319 Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
#6 1.371 Ign:7 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
#6 1.405 Ign:10 http://deb.debian.org/debian stretch/main amd64 Packages
#6 1.423 Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
#6 1.474 Err:7 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
#6 1.474   404  Not Found [IP: 151.101.194.132 80]
#6 1.526 Ign:8 http://security.debian.org/debian-security stretch/updates/main all Packages
#6 1.780 Ign:11 http://deb.debian.org/debian stretch-updates/main amd64 Packages
#6 2.146 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
#6 2.510 Ign:9 http://deb.debian.org/debian stretch/main all Packages
#6 2.874 Ign:10 http://deb.debian.org/debian stretch/main amd64 Packages
#6 3.253 Ign:11 http://deb.debian.org/debian stretch-updates/main amd64 Packages
#6 3.628 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
#6 3.996 Ign:9 http://deb.debian.org/debian stretch/main all Packages
#6 4.361 Ign:10 http://deb.debian.org/debian stretch/main amd64 Packages
#6 4.724 Ign:11 http://deb.debian.org/debian stretch-updates/main amd64 Packages
#6 5.100 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
#6 5.474 Ign:9 http://deb.debian.org/debian stretch/main all Packages
#6 5.849 Ign:10 http://deb.debian.org/debian stretch/main amd64 Packages
#6 6.218 Ign:11 http://deb.debian.org/debian stretch-updates/main amd64 Packages
#6 6.586 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
#6 6.959 Ign:9 http://deb.debian.org/debian stretch/main all Packages
#6 7.331 Ign:10 http://deb.debian.org/debian stretch/main amd64 Packages
#6 7.700 Ign:11 http://deb.debian.org/debian stretch-updates/main amd64 Packages
#6 8.065 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
#6 8.439 Ign:9 http://deb.debian.org/debian stretch/main all Packages
#6 8.850 Err:10 http://deb.debian.org/debian stretch/main amd64 Packages
#6 8.850   404  Not Found
#6 9.218 Err:11 http://deb.debian.org/debian stretch-updates/main amd64 Packages
#6 9.218   404  Not Found
#6 9.582 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
#6 9.589 Reading package lists...
#6 9.596 W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
#6 9.596 W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
#6 9.596 W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
#6 9.596 E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages  404  Not Found
#6 9.596 E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages  404  Not Found
#6 9.596 E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-amd64/Packages  404  Not Found [IP: 151.101.194.132 80]
#6 9.596 E: Some index files failed to download. They have been ignored, or old ones used instead.
#6 ERROR: process "/bin/sh -c apt-get update && apt-get -y install git curl unzip wget" did not complete successfully: exit code: 100
------
 > [dev_container_auto_added_stage_label 2/6] RUN apt-get update && apt-get -y install git curl unzip wget:
9.218   404  Not Found
9.582 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
9.589 Reading package lists...
9.596 W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
9.596 W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
9.596 W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
9.596 E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages  404  Not Found
9.596 E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages  404  Not Found
9.596 E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-amd64/Packages  404  Not Found [IP: 151.101.194.132 80]
9.596 E: Some index files failed to download. They have been ignored, or old ones used instead.
------
Dockerfile-with-features:5
--------------------
   3 |     FROM debian:stretch AS dev_container_auto_added_stage_label
   4 |     
   5 | >>> RUN apt-get update && apt-get -y install git curl unzip wget
   6 |     
   7 |     RUN apt-get autoremove -y \
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get -y install git curl unzip wget" did not complete successfully: exit code: 100
[17825 ms] Stop: Run: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.56.1-1716097871456/Dockerfile-with-features -t vsc-flutter_vega_codespace-57f52621fa294a7567bb4afb8a4fe417a25462c6e0cf4e5a41fdbdbe95ead058 --target dev_containers_target_stage --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label /var/lib/docker/codespacemount/workspace/flutter_vega_codespace/.devcontainer
{"outcome":"error","message":"Command failed: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.56.1-1716097871456/Dockerfile-with-features -t vsc-flutter_vega_codespace-57f52621fa294a7567bb4afb8a4fe417a25462c6e0cf4e5a41fdbdbe95ead058 --target dev_containers_target_stage --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label /var/lib/docker/codespacemount/workspace/flutter_vega_codespace/.devcontainer","description":"An error occurred building the image."}
Error: Command failed: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.56.1-1716097871456/Dockerfile-with-features -t vsc-flutter_vega_codespace-57f52621fa294a7567bb4afb8a4fe417a25462c6e0cf4e5a41fdbdbe95ead058 --target dev_containers_target_stage --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label /var/lib/docker/codespacemount/workspace/flutter_vega_codespace/.devcontainer
    at j$ (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:465:1933)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Lw (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:464:1831)
    at async iK (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:464:608)
    at async gAA (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:481:3660)
    at async BC (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:481:4775)
    at async xeA (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:614:11265)
    at async UeA (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:614:11006)
devcontainer process exited with exit code 1
Failed to create container.
Error: Command failed: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.56.1-1716097871456/Dockerfile-with-features -t vsc-flutter_vega_codespace-57f52621fa294a7567bb4afb8a4fe417a25462c6e0cf4e5a41fdbdbe95ead058 --target dev_containers_target_stage --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label /var/lib/docker/codespacemount/workspace/flutter_vega_codespace/.devcontainer
Error code: 1302 (UnifiedContainersErrorFatalCreatingContainer)
Container creation failed.

Creating recovery container.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.