DEV Community

deadcheat
deadcheat

Posted on

2 1

satori/go.uuid may cause build error for goa application

Today, I released application for my working project to the production. but I got build error like this,

# myapp/vendor/github.com/goadesign/goa/uuid
vendor/github.com/goadesign/goa/uuid/uuid.go:18:23: not enough arguments in call to uuid.Must
    have (uuid.UUID)
    want (uuid.UUID, error)

Luckily, I happend to see talking about same topic on goa-slack-channel, I knew this problem is caused by this issue(Breaking API Change)

Ofcourse they fixed that on master branch.but they've not added release tag yet.
so you will face this problem if you write "glide.yaml" like this.

import:
- package: github.com/goadesign/goa
  version: ^1.3.1
- package: github.com/satori/go.uuid
  version: ^1.2.0

For my application, fix glide.yaml like below.

import:
- package: github.com/goadesign/goa
  version: ^1.3.1
- package: github.com/satori/go.uuid
  version: master

Thanks.

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay