{"record":{"id":"27e7a33838400d23","repo":"goreleaser/goreleaser","slug":"nodedist-no-embedded-entry-for-s-run-task-node","errorCode":null,"errorMessage":"nodedist: no embedded entry for %s; run `task nodedist:releases:generate` (or update goreleaser)","messagePattern":"nodedist: no embedded entry for (.+?); run `task nodedist:releases:generate` \\(or update goreleaser\\)","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"internal/nodedist/releases.go","lineNumber":32,"sourceCode":"// and cached for the lifetime of the process. Each entry maps an\n// archive name (matching what Target.ArchiveName returns) to its\n// SHA-256, hex-encoded.\nvar Releases = sync.OnceValue(func() map[string]map[string]string {\n\tvar m map[string]map[string]string\n\tif err := json.Unmarshal(rawReleases, &m); err != nil {\n\t\tpanic(fmt.Sprintf(\"nodedist: decode embedded releases.json: %v\", err))\n\t}\n\treturn m\n})\n\n// lookupSHA returns the embedded SHA-256 for the given (version,\n// archiveName). Both arguments must match the upstream layout exactly\n// (version with leading `v`, archiveName as published in\n// SHASUMS256.txt). Returns an actionable error when missing.\nfunc lookupSHA(version, archiveName string) (string, error) {\n\tfiles, ok := Releases()[version]\n\tif !ok {\n\t\treturn \"\", fmt.Errorf(\"nodedist: no embedded entry for %s; run `task nodedist:releases:generate` (or update goreleaser)\", version)\n\t}\n\tsha, ok := files[archiveName]\n\tif !ok {\n\t\treturn \"\", fmt.Errorf(\"nodedist: no embedded SHA for %s/%s; run `task nodedist:releases:generate` (or update goreleaser)\", version, archiveName)\n\t}\n\treturn sha, nil\n}\n","sourceCodeStart":14,"sourceCodeEnd":40,"githubUrl":"https://github.com/goreleaser/goreleaser/blob/f5edd7395693c0c6b501dc722d445d2e86af854d/internal/nodedist/releases.go#L14-L40","documentation":"Lookup error in nodedist.lookupSHA: the embedded releases.json has no entry at all for the requested Node version. The pinned SHA data is generated into the binary, so an unknown version cannot be integrity-checked; the error tells you to regenerate the embedded data or update goreleaser.","triggerScenarios":"Thrown at internal/nodedist/releases.go:32 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Update goreleaser to a version whose embedded releases.json covers the requested node version","Regenerate the embedded data via `task nodedist:releases:generate`","Use a node version that exists in the embedded manifest"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"f5edd7395693c0c6b501dc722d445d2e86af854d","analyzedAt":"2026-09-05T09:57:18.807Z","contentChangedAt":"2026-09-05T09:57:18.807Z","schemaVersion":2},"datasetVersion":"2026-09-12T12:17:11.808Z"}