Unable to resolve “@react-navigation/native” from “App.js” - React Native + How to Solve?

前端 未结 4 548
轻奢々
轻奢々 2021-02-08 16:28

undefined Unable to resolve module @react-navigation/native from App.js: @react-navigation/native could not be found within the project.

If you

4条回答
  •  北荒
    北荒 (楼主)
    2021-02-08 17:30

    the best solution is to delete your node_modules and package-lock.json and try npm install, it works for me

提交回复
热议问题