gpt4 book ai didi

javascript - 您为我们提供了节点类型 TSInstantiationExpression 的访问者,但它不是有效类型

转载 作者:行者123 更新时间:2023-12-05 00:25:14 28 4
gpt4 key购买 nike

世博会更新后,我的项目无法正常工作
错误是:

Failed building JavaScript bundle.
node_modules\react-native-gesture-handler\src\index.ts: [BABEL] D:\data\Anonymous\ReactNative\test\node_modules\react-native-gesture-handler\src\index.ts: You gave us a visitor for the node type TSInstantiationExpression but it's not a valid type
该项目的依赖项是:
packages: {
"@react-navigation/bottom-tabs": "^6.3.1",
"@react-navigation/drawer": "^6.4.1",
"@react-navigation/native": "^6.0.10",
"@react-navigation/stack": "^6.2.1",
"expo": "~45.0.0",
"expo-barcode-scanner": "~11.3.0",
"expo-status-bar": "~1.3.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-native": "https://github.com/expo/react-native/archive/sdk-45.0.0.tar.gz",
"react-native-gesture-handler": "~2.2.1",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-paper": "^4.12.1",
"react-native-reanimated": "~2.8.0",
"react-native-safe-area-context": "4.2.4",
"react-native-screens": "~3.11.1",
"react-native-vector-icons": "^9.1.0",
"react-native-web": "0.17.7",
}

最佳答案

我遇到了同样的错误,通过使用 yarn global add expo-cli 升级我的 expo-cli 来修复它.

关于javascript - 您为我们提供了节点类型 TSInstantiationExpression 的访问者,但它不是有效类型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72328356/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com