Closed pencilcheck closed 10 months ago
Insert the following line before line 10
of /Users/pencilcheck/Projects/project-new-expo/apps/expo/node_modules/telefunc/dist/cjs/node/transformer/transformTelefuncFileClientSideSync.js
and report back the log results.
const telefuncFilePath = '/' + path_1.posix.relative(appRootDir, id);
+ console.log('telefuncFilePath', telefuncFilePath);
(0, utils_1.assert)(!telefuncFilePath.startsWith('/.'));
Only include the relevant logs, the rest are metro and expo stuff
transform[stdout]: telefuncFilePath /../func/hello.telefunc.mjs
Android Bundling failed 1937ms
error: ../func/hello.telefunc.mjs: /Users/pencilcheck/Projects/project-new-expo/apps/func/hello.telefunc.mjs: [telefunc@0.1.67][Bug] You stumbled upon a bug in Telefunc's source code. Reach out at https://github.com/brillout/telefunc/issues/new or https://discord.com/invite/3DYWwk4xRQ and include this error stack (the error stack is usually enough to fix the problem). A maintainer will fix the bug (usually under 24 hours). Don't hesitate to reach out as it makes Telefunc more robust.
Fixed. You should now get an helpful error message instead.
Folder structure: