{"record":{"id":"cf5df994ba422d90","repo":"denoland/deno","slug":"invalid-range-start-value-is-bigger-than-end-valu","errorCode":null,"errorMessage":"Invalid range. Start value is bigger than end value: [${start}, ${end}]","messagePattern":"Invalid range\\. Start value is bigger than end value: \\[(.+?), (.+?)\\]","errorType":"exception","errorClass":"RangeError","httpStatus":null,"severity":"error","filePath":"cli/js/40_lint.js","lineNumber":395,"sourceCode":"    return this.sourceCode;\n  }\n\n  /**\n   * @param {Deno.lint.ReportData} data\n   */\n  report(data) {\n    const range = data.node ? data.node.range : data.range ? data.range : null;\n    if (range == null) {\n      throw new Error(\n        \"Either `node` or `range` must be provided when reporting an error\",\n      );\n    }\n\n    const start = range[0];\n    const end = range[1];\n\n    if (start > end) {\n      throw new RangeError(\n        `Invalid range. Start value is bigger than end value: [${start}, ${end}]`,\n      );\n    }\n\n    /** @type {Deno.lint.Fix[]} */\n    const fixes = [];\n\n    if (typeof data.fix === \"function\") {\n      const fixer = new Fixer();\n      const result = data.fix(fixer);\n\n      if (Symbol.iterator in result) {\n        for (const fix of result) {\n          fixes.push(fix);\n        }\n      } else {\n        fixes.push(result);\n      }","sourceCodeStart":377,"sourceCodeEnd":413,"githubUrl":"https://github.com/denoland/deno/blob/89f33cbef296a2b287f323d42de54c871fa69c77/cli/js/40_lint.js#L377-L413","documentation":"The downloaded, checksum-verified cache for the backend contains no `.app` bundle on a macOS target. As the message notes, this typically means that backend simply does not ship as an app for the requested target — a packaging-completeness gap rather than a corrupt download.","triggerScenarios":"Requesting a backend whose laufey release includes only a plain binary (no `.app`) for the chosen macOS target; or a release where the app packaging for that combination was omitted.","commonSituations":"Using a newer/less common backend on macOS; cross-target use where app packaging exists only for the primary Apple targets.","solutions":["Switch to a backend/target combination that ships an `.app` (the mainstream Apple targets)","Update Deno in case newer laufey releases added the missing packaging","Clear the cache and re-run once to rule out a truncated extraction","If the combination should be supported, report a bug against laufey packaging"],"exampleFix":null,"handlingStrategy":"validation","validationCode":"const BACKENDS_SHIPPING_APP = new Set(['default' /* fill from laufey release notes */]);\nconst needsApp = target.includes('apple');\nif (needsApp && !BACKENDS_SHIPPING_APP.has(backend)) {\n  throw new Error(`backend '${backend}' has no .app for ${target} — pick a shipped combination`);\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Stick to mainstream backend/target combinations for macOS packaging","Verify the laufey release notes list an .app for your backend before adopting it"],"tags":["desktop","laufey","macos","app-bundle","target"],"backgroundTag":null,"analyzedSha":"89f33cbef296a2b287f323d42de54c871fa69c77","analyzedAt":"2026-08-16T07:54:21.310Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}