Skip to content

Getting imageproxy creates error #172

Closed
@dsarosi

Description

When running go get willnorris.com/go/imageproxy the following error occurs.

# willnorris.com/go/imageproxy ../../../willnorris.com/go/imageproxy/transform.go:173:13: undefined: smartcrop.SmartCrop

Activity

efabian

efabian commented on Mar 22, 2019

@efabian

Encountered the same error.

self-assigned this
on Mar 22, 2019
willnorris

willnorris commented on Mar 22, 2019

@willnorris
Owner

Yep, I see what happened here. I've been using go modules support pretty much exclusively, so I've been pinned at an older version of the smartcrop package. I removed the vendor directory last night, with the intention of pushing toward always building with module support. So that's one option... checkout the project outside of your GOPATH and build with go1.11 or later.

But the other thing I need to do is update to the latest version of smartcrop, so that building without modules will still work. I'll do that later today. Thanks for reporting this! I totally overlooked it in the work I was doing last night.

dsarosi

dsarosi commented on Mar 23, 2019

@dsarosi
Author

It's working. Thanks for the quick update.

added a commit that references this issue on Feb 6, 2025
d979485
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Getting imageproxy creates error · Issue #172 · willnorris/imageproxy