weaver icon indicating copy to clipboard operation
weaver copied to clipboard

Weaver generate process is not finished

Open taitasu555 opened this issue 1 year ago • 4 comments

In this tutorial. I ran weaver generate . , but nothing worked after about 10~15 minutes. Should I change the version of go or weaver?

Version

  • M1 max macbook pro
  • go1.22.1 darwin/arm64
  • weaver v0.24.2 darwin/arm64

taitasu555 avatar Jun 20 '24 01:06 taitasu555

My laptop settings:

Apple M1 Pro
16GB
macOS: Sonoma 14.5

My versions:

Weaver version: v0.24.2
Go version: v1.22.3

It works on:

Command:

$ time weaver generate ./...
# output: weaver generate ./...  0.81s user 0.74s system 271% cpu 0.573 total

I did a downgrade to test your Go version too. The result was:

$ time weaver generate ./...
# output: weaver generate ./...  93.43s user 18.33s system 318% cpu 35.110 total (first build)
# weaver generate ./...  0.77s user 1.07s system 345% cpu 0.532 total (last build)

Important comments: This is normal because it is the first build of your project. The next builds will be faster.

renanbastos93 avatar Jun 20 '24 16:06 renanbastos93

Thanks @renanbastos93. It works for me too.

@taitasu555 do you still have these issues?

I've tried:

  • Apple M1 Pro
  • macOS: Sonoma 14.5
  • go1.22.4 darwin/amd64
  • weaver v0.24.2 darwin/amd64

rgrandl avatar Jun 20 '24 16:06 rgrandl

Thank you for replying @rgrandl @renanbastos93

it still doesn't work on my laptop.

 time weaver generate ./...

not finished and kill the process
0.01s user 0.02s system 0% cpu 1:35.66 total

using security software or the VPN that I installed may cause this problem.

I've also tried: Apple M1 Pro macOS: Sonoma 14.5 go1.22.4 darwin/amd64 weaver v0.24.2 darwin/amd64

taitasu555 avatar Jun 21 '24 08:06 taitasu555

@taitasu555 is this still an issue?

rgrandl avatar Jul 23 '24 18:07 rgrandl