📌  相关文章
📜  意外令牌反应本机堆栈导航 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:20.539000             🧑  作者: Mango

代码示例1
Delete your yarn.lock/package-json.lock file and run yarn/npm install.

Then try clearing cache with npx react-native start --reset-cache/expo start -c

1.Upgrade deps (https://reactnavigation.org/docs/troubleshooting/#im-getting-syntaxerror-in-react-navigationxxxxxxtsx-or-syntaxerror-xxxreact-navigationxxxxxxtsx-unexpected-token)             
2.Clear cache  (https://reactnavigation.org/docs/troubleshooting/#stale-cache-of-metro-bundler)