Skip to content

Cannot read properties of undefined (reading 'addHelper') in 00-Login-Hooks Sample #184

@udbhav3101

Description

@udbhav3101

Checklist

  • I have looked into the Readme (Base/Hooks/Expo) and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

Javascript Error when running the metro server: auth0-react-native-sample/00-Login-Hooks/index.js: Cannot read properties of undefined (reading 'addHelper')

Reproduction

Steps to reproduce this issue are:

  1. git clone repo
  2. cd 00-Login-Hooks && yarn install
  3. cd ios && pod install (failed ⚠️)
  4. pod install --repo-update (failed ⚠️ )
  5. pod update Auth0 (Worked ✅ )
  6. Run the simulator (Flipper fails)
  7. Apply a post install fix for Flipper to work.
  8. Run the simulator (Works)
  9. Run yarn start on terminal fails with error Cannot Read Properties of undefined (reading 'addHelper')

Additional context

No response

Sample

Hooks

Platform

iOS

Platform version(s)

iOS 17.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions