Giter VIP home page Giter VIP logo

template-flutter's Introduction

Flutter app template

The Flutter template, configured for Gitpod to give you pre-built, ephemeral development environments in the cloud.

Next Steps

Click the button below to start a new development environment:

Open in Gitpod

Get Started With Your Own Project

A new project

Click the above "Open in Gitpod" button to start a new workspace. Once you're ready to push your first code changes, Gitpod will guide you to fork this project so you own it.

An existing project

Copy and commit the .gitpod.yml and .gitpod.Dockerfile to your existing project to have the same configuration of this template. To learn more, please see the Getting Started documentation.

template-flutter's People

Contributors

axonasif avatar ghuntley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

template-flutter's Issues

Upload to Appetize is tried before any build

Bug description

The scripts try to upload to Appetize is before any build is existing and an error appears.

Steps to reproduce

  1. Start workspace https://gitpod.io/#https://github.com/gitpod-io/template-flutter
  2. Obtain and set token gp env APPETIZE_API_TOKEN=your_token
  3. Stop workspace
  4. Start again
  5. See Android Appetize info terminal

Error:

info[gitpod]: If you want to build apk/appbundle for Android then you might consider doing the below
info[gitpod]: Appetize can will help you debug your app inside the browser
curl: (26) Failed to open/read local data from file/application
variable must have a value; use -u to unset a variable

Expected behavior

The error should not appear, instead the script should wait until the app is built

Example repository

ttps://gitpod.io/#https://github.com/gitpod-io/template-flutter

Anything else?

Or is this task to be called manually? Then it should not run initially when there is not yet an APK.

If there is an APK, it would work

Initialization error, mounting "proc" to rootfs at "/proc" caused: mount through procfd: operation not permitted

Bug description

I'm getting errors while trying to use this template, this might be related to something in my setup but maybe yo know something about this. I'm using it in gitpod self-hosted in k3s cluster over an ubuntu OS.

[ 2/13] RUN curl -fsSL https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && curl -fsSL https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list && install-packages build-essential dart libkrb5-dev gcc make gradle android-tools-adb android-tools-fastboot
#5 0.511 container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: rootfs_linux.go:76: mounting "proc" to rootfs at "/proc" caused: mount through procfd: operation not permitted
#5 ERROR: process "/bin/bash -c curl -fsSL https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && curl -fsSL https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list && install-packages build-essential dart libkrb5-dev gcc make gradle android-tools-adb android-tools-fastboot" did not complete successfully: exit code: 1

Steps to reproduce

Just start an empty workspace with this template.

Expected behavior

No response

Example repository

No response

Anything else?

No response

Cannot connect directly to the VM service

Error

Terminal

An Observatory debugger and profiler on Chrome is available at: http://127.0.0.1:36805/XXXXXXXXXXX=
Flutter Web Bootstrap: Programmatic
The Flutter DevTools debugger and profiler on Chrome is available at: http://127.0.0.1:9101?uri=http://127.0.0.1:36805/XXXXXXXXXXX=/
ERROR - 2023-06-24 03:29:58.512945
GET /XXXXXXXXXXX%3D
Error thrown by handler.
Invalid argument(s): handlerPath "/XXXXXXXXXXX=/" must be a prefix of requestedUri path "/XXXXXXXXXXX"
package:shelf/src/request.dart 258:20  Request.change
package:dds/src/dds_impl.dart 250:29   DartDevelopmentServiceImpl._authCodeMiddleware.<fn>

Gitpod Link Message

Cannot connect directly to the VM service as a Dart Development Service (DDS) instance has taken control and can be found at http://127.0.0.1:36805/XXXXXXXXXXX=/.

Description

I have made no changes to the repo in Gitpod. I have only entered the flutter run command and selected device 2 to run my flutter app on chrome.

  • Brave Browser
  • Gitpod Browser (Visual Studio Code)

I don't know what authentication code to use.

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.