If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
- Git clone, npm install, npm run web
Expected Result:
App runs without invalid hook call JavaScript error.
Actual Result:
Browser window opens and remains blank, and there’s an invalid hook call... error in the JavaScript console.
There do appear to be invalid hook calls in react-native-safe-area-context in SafeAreaContext.tsx.
Workaround:
Using an old node/npm version (e.g. 14.9.0/6.14.8) resolves the issue.
Platform:
Where is this issue occurring?
Version Number: 1.1.56-0
Reproducible in staging?: need repro
Reproducible in production?: need repro
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @ David Frenkiel
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1650494818552169?thread_ts=1650471398.505469&cid=C01GTK53T8Q
Job Post: https://www.upwork.com/jobs/~01570a3972089306b9
View all open jobs on GitHub
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
App runs without invalid hook call JavaScript error.
Actual Result:
Browser window opens and remains blank, and there’s an invalid hook call... error in the JavaScript console.
There do appear to be invalid hook calls in react-native-safe-area-context in SafeAreaContext.tsx.
Workaround:
Using an old node/npm version (e.g. 14.9.0/6.14.8) resolves the issue.
Platform:
Where is this issue occurring?
Version Number: 1.1.56-0

Reproducible in staging?: need repro
Reproducible in production?: need repro
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @ David Frenkiel
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1650494818552169?thread_ts=1650471398.505469&cid=C01GTK53T8Q
Job Post: https://www.upwork.com/jobs/~01570a3972089306b9
View all open jobs on GitHub