{"record":{"id":"596318f50d5a58e9","repo":"cube-js/cube","slug":"transpilejs-native-implementation-not-found","errorCode":null,"errorMessage":"TranspileJs native implementation not found!","messagePattern":"TranspileJs native implementation not found!","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/cubejs-backend-native/js/index.ts","lineNumber":517,"sourceCode":" * @param transformDataArr Array of data needed to transform raw query results\n * @param rows Array of raw data received from the source DB via driver or reference to native CubeStore response results\n * @param responseData Final combined query result structure without actual data\n * @return {Promise<ArrayBuffer>} ArrayBuffer with json-serialized data which should be directly sent to the client\n */\nexport const getFinalQueryResultMulti = (transformDataArr: Object[], rows: any[], responseData: Object): Promise<ArrayBuffer> => {\n  const native = loadNative();\n\n  return native.getFinalQueryResultMulti(transformDataArr, rows, responseData);\n};\n\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>","sourceCodeStart":499,"sourceCodeEnd":535,"githubUrl":"https://github.com/cube-js/cube/blob/7d981676b36392fec34088b9afab6bdcad40207c/packages/cubejs-backend-native/js/index.ts#L499-L535","documentation":"Capability guard in transpileJs (cubejs-backend-native): the loaded native extension exists but does not export a transpileJs implementation. This occurs with the fallback (pure-JS) build of the native module, which lacks the JS-model transpilation entry point.","triggerScenarios":"Thrown at packages/cubejs-backend-native/js/index.ts:517 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Install a platform-specific native build of cubejs-backend-native instead of the fallback build.","Check the supported architectures/platforms section of the package README and match your deployment image.","Upgrade the package — newer releases ship prebuilt binaries for more platforms."],"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"}