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

'package "XXX" without types was imported from' Error message #9

Closed
jonbodner opened this issue Mar 29, 2020 · 2 comments
Closed

'package "XXX" without types was imported from' Error message #9

jonbodner opened this issue Mar 29, 2020 · 2 comments

Comments

@jonbodner
Copy link

jonbodner commented Mar 29, 2020

Hello,

I'm not sure if I'm doing something wrong or if there's an incompatibility with Go 1.14 and this tool.

I installed with go get github.com/marwan-at-work/mod/cmd/mod

Steps to reproduce:

Error occurs:
2020/03/28 23:34:18 internal error: package "fmt" without types was imported from "github.com/jonbodner/taxes"

Also tried on v2 subdirectory:

  • cd v2
  • mod upgrade

Error occurs:
2020/03/28 23:37:57 internal error: package "errors" without types was imported from "github.com/jonbodner/taxes/v2"

@marwan-at-work
Copy link
Owner

@jonbodner thank you for opening an issue
I believe I just needed to upgrade an outdated dependenciy.

I just pushed the upgrade to master here

Can you please re-install mod by running the following command:
GO111MODULE=on go get github.com/marwan-at-work/mod/cmd/mod@master

OR git clone https://github.com/marwan-at-work/mod && cd mod/cmd/mod && go install

and see if that fixes it, if so I'll cut a new release.

@jonbodner
Copy link
Author

That seems to fix it, thanks!

mchill added a commit to mchill/mod that referenced this issue Apr 19, 2022
Addresses an error with newer versions of Go.

fix marwan-at-work#9
marwan-at-work pushed a commit that referenced this issue Apr 19, 2022
Addresses an error with newer versions of Go.

fix #9
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

No branches or pull requests

2 participants