{"record":{"id":"b154d7ca32224a5f","repo":"hpyhacking/peatio","slug":"the-partial-could-not-be-compiled-when-running","errorCode":null,"errorMessage":"The partial {} could not be compiled when running in runtime-only mode","messagePattern":"The partial (.+?) could not be compiled when running in runtime-only mode","errorType":"exception","errorClass":"Handlebars.Exception","httpStatus":null,"severity":"error","filePath":"app/assets/javascripts/swagger-ui/lib/handlebars-1.0.0.js","lineNumber":2266,"sourceCode":"    var program = function(context, options) {\n      options = options || {};\n\n      return fn(context, options.data || data);\n    };\n    program.program = i;\n    program.depth = 0;\n    return program;\n  },\n  noop: function() { return \"\"; },\n  invokePartial: function(partial, name, context, helpers, partials, data) {\n    var options = { helpers: helpers, partials: partials, data: data };\n\n    if(partial === undefined) {\n      throw new Handlebars.Exception(\"The partial \" + name + \" could not be found\");\n    } else if(partial instanceof Function) {\n      return partial(context, options);\n    } else if (!Handlebars.compile) {\n      throw new Handlebars.Exception(\"The partial \" + name + \" could not be compiled when running in runtime-only mode\");\n    } else {\n      partials[name] = Handlebars.compile(partial, {data: data !== undefined});\n      return partials[name](context, options);\n    }\n  }\n};\n\nHandlebars.template = Handlebars.VM.template;\n;\n// lib/handlebars/browser-suffix.js\n})(Handlebars);\n;\n","sourceCodeStart":2248,"sourceCodeEnd":2279,"githubUrl":"https://github.com/hpyhacking/peatio/blob/dab8641137c008928c835409342519bfef4eae7f/app/assets/javascripts/swagger-ui/lib/handlebars-1.0.0.js#L2248-L2279","documentation":"Error \"The partial {} could not be compiled when running in runtime-only mode\" thrown in hpyhacking/peatio.","triggerScenarios":"Thrown at app/assets/javascripts/swagger-ui/lib/handlebars-1.0.0.js:2266 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Precompile the partial and register the compiled spec with Handlebars.registerPartial, or load the full Handlebars build that includes the compiler instead of the runtime-only build."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"dab8641137c008928c835409342519bfef4eae7f","analyzedAt":"2026-08-23T09:59:18.005Z","schemaVersion":2},"datasetVersion":"2026-08-23T13:39:53.451Z"}