go-flutter-desktop / go-flutter

Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW.
https://hover.build/
BSD 3-Clause "New" or "Revised" License
5.84k stars 286 forks source link

`hover run` not runed #690

Open george012 opened 11 months ago

george012 commented 11 months ago

Hover doctor

wmyeah@WMYeah-Mac-16 tianxia_box % hover doctor --docker
hover: Hover version v0.47.2 running on darwin
hover: Sharing packaging tools
hover: darwin-bundle is supported
hover: darwin-dmg is supported
hover: darwin-pkg is supported
hover: Packaging linux-appimage is not supported on darwin
hover: To still package linux-appimage on darwin you need to run hover with the `--docker` flag.
hover: Packaging linux-deb is not supported on darwin
hover: To still package linux-deb on darwin you need to run hover with the `--docker` flag.
hover: Packaging linux-pkg is not supported on darwin
hover: To still package linux-pkg on darwin you need to run hover with the `--docker` flag.
hover: Packaging linux-rpm is not supported on darwin
hover: To still package linux-rpm on darwin you need to run hover with the `--docker` flag.
hover: Packaging linux-snap is not supported on darwin
hover: To still package linux-snap on darwin you need to run hover with the `--docker` flag.
hover: Packaging windows-msi is not supported on darwin
hover: To still package windows-msi on darwin you need to run hover with the `--docker` flag.
hover: 
hover: Sharing flutter version
Flutter 3.13.0-0.3.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision e90f5d4561 (6 days ago) • 2023-08-04 14:55:33 -0700
Engine • revision c1f977f72b
Tools • Dart 3.1.0 (build 3.1.0-262.3.beta) • DevTools 2.25.0
hover: Flutter engine commit: https://github.com/flutter/engine/commit/c1f977f72b68da673ec493ab5df0beacacc7a88b
hover: Finding out the C compiler version
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: x86_64-apple-darwin21.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
hover: Sharing the content of go.mod
module tianxia_box/go

go 1.20

require (
    github.com/go-flutter-desktop/go-flutter v0.52.2
    github.com/pkg/errors v0.9.1
)

require (
    github.com/Xuanwo/go-locale v1.1.0 // indirect
    github.com/go-gl/gl v0.0.0-20211210172815-726fda9656d6 // indirect
    github.com/go-gl/glfw/v3.3/glfw v0.0.0-20220712193148-63cf1f4ef61f // indirect
    golang.org/x/sys v0.0.0-20211023085530-d6a326fbbf70 // indirect
    golang.org/x/text v0.3.7 // indirect
)
hover: Sharing the content of hover.yaml
application-name: ""
executable-name: ""
package-name: ""
organization-name: com.tianxiabox
license: ""
target: lib/main_desktop.dart
branch: ""
cache-path: ""
opengl: ""
engine-version: ""
hover: Sharing the content of go/cmd
go/cmd/main.go  go/cmd/options.go

Error output

Using hover run to run my application, I get the following error:

hover: Downloading engine for platform darwin-debug_unopt at version c1f977f72b68da673ec493ab5df0beacacc7a88b...
hover: Failed to download engine: failed to get Content-Length header: strconv.Atoi: parsing "": invalid syntax

not runed

    flutter create test_hover
    cd test_hover
    hover init
    hover run 

-->

no-bibi commented 11 months ago

i got ,are we same ?

hover run
hover: Downloading engine for platform darwin-debug_unopt at version 45f6e009110df4f34ec2cf99f63cf73b71b7a420...
Download completed in 2.11s
Download completed in 2.88s
hover: Failed to unzip engine framework: open /var/folders/mn/7czq6y1x1v17_xhp8bbkgjj40000gn/T/hover-engine-download763364243/engine/FlutterEmbedder.framework.zip: no such file or directory
zwz-coding commented 8 months ago

i got ,are we same ?

hover run
hover: Downloading engine for platform darwin-debug_unopt at version 45f6e009110df4f34ec2cf99f63cf73b71b7a420...
Download completed in 2.11s
Download completed in 2.88s
hover: Failed to unzip engine framework: open /var/folders/mn/7czq6y1x1v17_xhp8bbkgjj40000gn/T/hover-engine-download763364243/engine/FlutterEmbedder.framework.zip: no such file or directory

I got the same issue, do you have a solution?