teamraincoat / agricat

Enrollment application for agricultural insurance policies
0 stars 0 forks source link

Sign Up flow error #42

Closed j0x0j closed 2 years ago

j0x0j commented 2 years ago

The signup screen should be in the Main navigation stack, as the only way to view it is if you have already been provisioned an account by an admin and that the user logged in with the provisional credentials.

I've been trying to fix a bug in the signup flow that throws the following error:

Error: ENOENT: no such file or directory, open '/Users/joel/Work/raincoat/mobile/enrollment-app/http:/localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.enrollmentapp&modulesOnly=false&runModule=true'
    at Object.openSync (node:fs:585:3)
    at Object.readFileSync (node:fs:453:35)
    at getCodeFrame (/Users/joel/Work/raincoat/mobile/enrollment-app/node_modules/metro/src/Server.js:919:18)
    at Server._symbolicate (/Users/joel/Work/raincoat/mobile/enrollment-app/node_modules/metro/src/Server.js:992:22)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Server._processRequest (/Users/joel/Work/raincoat/mobile/enrollment-app/node_modules/metro/src/Server.js:403:7) {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/Users/joel/Work/raincoat/mobile/enrollment-app/http:/localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=com.enrollmentapp&modulesOnly=false&runModule=true'
}

Please try to replicate by logging in with your user after setting isFirstLogin to true