skip to Main Content

what are the possible issues with this code and how to resolve them. what specific location is to check to resolve this issue. i have been to the specified location but donot know the next step. it be appreciated if you could advise me on the right steps to take in resolving this issue.what are the possible issues with this code and how to resolve them. what specific location is to check to resolve this issue. i have been to the specified location but donot know the next step. it be appreciated if you could advise me on the right steps to take in resolving this issue. Thank you you

2

Answers


  1. This problem occur because in update of the package when apply:
    npx expo install --fix
    update the package @expo that works with prop-types this issue have two ways:
    Easy Way (Its not correct)

    1. Open file icon-button.js
    2. Delete prop-typs.

    the correct way

    1. Install prop-types libs using:

      npm install prop-types

      enter code here

    Login or Signup to reply.
  2. I had the same issue, all you need to do is run:

    npx expo install prop-types
    

    And that should fix your problem

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search