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

Updating to hugo modules: XML syntax error #239

Open
mythsmith opened this issue Jun 21, 2023 · 0 comments
Open

Updating to hugo modules: XML syntax error #239

mythsmith opened this issue Jun 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@mythsmith
Copy link

Describe the bug

I removed the git submodule as described here, and installed the hugo module. But then:

$ hugo mod get wangchucheng.com/hugo-eureka
go: no module dependencies to download
go: wangchucheng.com/hugo-eureka: unrecognized import path "wangchucheng.com": parsing wangchucheng.com: XML syntax error on line 1: expected /> in element
Error: failed to get ["-d" "wangchucheng.com/hugo-eureka"]: failed to execute 'go [get -d wangchucheng.com/hugo-eureka]': failed to execute binary "go" with args [get -d wangchucheng.com/hugo-eureka]: go: wangchucheng.com/hugo-eureka: unrecognized import path "wangchucheng.com": parsing wangchucheng.com: XML syntax error on line 1: expected /> in element

To Reproduce

Does this issue reproduce with the latest release? Yes

Steps to reproduce the behavior:
Follow the steps to remove the git submodule and add a hugo submodule, here

Expected behavior

The eureka submodule gets installed.

Environment

  • hugo v0.113.0
  • eureka 0.9.5

Additional context

I am not able to know which version of the submodule was previously installed, as I removed it following the guide.

@mythsmith mythsmith added the bug Something isn't working label Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant