{"record":{"id":"837139b114ebe3dc","repo":"cube-js/cube","slug":"transpileyaml-native-implementation-not-found","errorCode":null,"errorMessage":"TranspileYaml native implementation not found!","messagePattern":"TranspileYaml native implementation not found!","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/cubejs-backend-native/js/index.ts","lineNumber":527,"sourceCode":"\nexport const transpileJs = async (transpileRequests: TransformConfig[]): Promise<TransformResponse[]> => {\n  const native = loadNative();\n\n  if (native.transpileJs) {\n    return native.transpileJs(transpileRequests);\n  }\n\n  throw new Error('TranspileJs native implementation not found!');\n};\n\nexport const transpileYaml = async (transpileRequests: TransformConfig[]): Promise<TransformResponse[]> => {\n  const native = loadNative();\n\n  if (native.transpileYaml) {\n    return native.transpileYaml(transpileRequests);\n  }\n\n  throw new Error('TranspileYaml native implementation not found!');\n};\n\nexport interface PyConfiguration {\n  repositoryFactory?: (ctx: unknown) => Promise<unknown>,\n  logger?: (msg: string, params: Record<string, any>) => void,\n  checkAuth?: (req: unknown, authorization: string) => Promise<{ 'security_context'?: unknown }>\n  extendContext?: (req: unknown) => Promise<unknown>\n  queryRewrite?: (query: unknown, ctx: unknown) => Promise<unknown>\n  contextToApiScopes?: () => Promise<string[]>\n  scheduledRefreshContexts?: (ctx: unknown) => Promise<string[]>\n  scheduledRefreshTimeZones?: (ctx: unknown) => Promise<string[]>\n  contextToGroups?: (ctx: unknown) => Promise<string[]>\n}\n\nfunction simplifyExpressRequest(req: ExpressRequest) {\n  // Req is a large object, let's simplify it\n  // Important: Dont pass circular references\n  return {","sourceCodeStart":509,"sourceCodeEnd":545,"githubUrl":"https://github.com/cube-js/cube/blob/7d981676b36392fec34088b9afab6bdcad40207c/packages/cubejs-backend-native/js/index.ts#L509-L545","documentation":"Capability guard in transpileYaml (cubejs-backend-native): the loaded native module lacks a transpileYaml export, so YAML data model transpilation is unavailable. This is the fallback-build path where the native binary was substituted with a stub without that function.","triggerScenarios":"Thrown at packages/cubejs-backend-native/js/index.ts:527 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use a build of cubejs-backend-native that includes native transpileYaml support for your platform.","If YAML models are not needed, avoid triggering YAML transpilation.","Consult the package README on supported architectures and install the matching prebuilt binary."],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"7d981676b36392fec34088b9afab6bdcad40207c","analyzedAt":"2026-09-02T03:45:10.400Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-08T15:18:49.778Z"}