Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken module path (Update dependency module version) #268

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

nao1215
Copy link
Collaborator

@nao1215 nao1215 commented Nov 8, 2023

About the problem

When I create a project containing goa-v1 and execute $ go mod tidy, I get the following error.

go: github.com/fuller-inc/template_webapi/webapi/design imports
        github.com/shogo82148/goa-v1/design imports
        github.com/zach-klippenstein/goregen tested by
        github.com/zach-klippenstein/goregen.test imports
        github.com/smartystreets/goconvey/convey imports
        github.com/smartystreets/assertions: github.com/smartystreets/[email protected]: parsing go.mod:
        module declares its path as: github.com/smarty/assertions
                but was required as: github.com/smartystreets/assertions

The cause of this problem is that the module paths for the dependent libraries have changed.
Before: github.com/smartystreets/assertions
After: github.com/smarty/assertions

Ref.: smarty migrate to new github org

How to fix

The library using github.com/smarty/assertions is github.com/smartystreets/goconvey.

If we update goconvey to v1.8.1, smartystreets in the module path will switch to smarty (github.com/smarty/assertions).

@nao1215 nao1215 requested a review from shogo82148 November 8, 2023 01:35
@nao1215 nao1215 changed the title Fix broken module path Fix broken module path (Update dependency module version) Nov 8, 2023
Copy link
Owner

@shogo82148 shogo82148 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ヨシッ

@shogo82148 shogo82148 merged commit c0c26d6 into shogo82148:main Nov 8, 2023
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants