AlcadeusA
Convex Community17mo ago
3 replies
Alcadeus

Convex Auth with OTPs for React-Native with Expo error with verificationRequest

Android Bundled 61ms node_modules/expo-router/entry.js (1 module)
 ERROR  [CONVEX A(auth:signIn)] [Request ID: 028a44069ad9e8f7] Server Error
Uncaught Error: Could not send
    at sendVerificationRequest [as sendVerificationRequest] (../../convex/ResendOTP.ts:22:4)
    at async handleEmailAndPhoneProvider (../../node_modules/@convex-dev/auth/dist/server/implementation/signIn.js:77:23)
    at async handler (../../node_modules/@convex-dev/auth/dist/server/implementation/index.js:245:20)
Error: ENOENT: no such file or directory, open '/home/convex/ResendOTP.ts'
    at Object.readFileSync (node:fs:441:20)
    at getCodeFrame (/home/warmachine/convexship/node_modules/metro/src/Server.js:949:18)
    at Server._symbolicate (/home/warmachine/convexship/node_modules/metro/src/Server.js:1026:22)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at Server._processRequest (/home/warmachine/convexship/node_modules/metro/src/Server.js:419:7) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/home/convex/ResendOTP.ts'
}
Error: ENOENT: no such file or directory, open '/home/node_modules/@convex-dev/auth/dist/server/implementation/signIn.js'
    at Object.readFileSync (node:fs:441:20)
    at getCodeFrame (/home/warmachine/convexship/node_modules/metro/src/Server.js:949:18)
    at Server._symbolicate (/home/warmachine/convexship/node_modules/metro/src/Server.js:1026:22)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)
    at Server._processRequest (/home/warmachine/convexship/node_modules/metro/src/Server.js:419:7) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/home/node_modules/@convex-dev/auth/dist/server/implementation/signIn.js'
}
Was this page helpful?