Build information missing error
UniOffice v2 requires Go 1.24 or later with modules enabled, and the UniDoc packages must come from an original source, meaning loaded from the official github.com/unidoc/unioffice repository.
Otherwise the library exits with:
Build information missing - ExitingTo resolve it, make sure your go.mod requires the module by its versioned path:
require (
github.com/unidoc/unioffice/v2 v2.13.0
)The /v2 suffix is the part that matters. A require line without it resolves to the v1 module, which is where this error usually comes from. Any v2 release works; the version above is current at the time of writing.
If that does not resolve problem, please contact our support.
Last updated on