无法解析模块`。/ createNativeWrapper`

问题描述 投票:0回答:1

我正在使用本机0.58.6,和本机手势处理程序1.0.16。

在IOS平台上,由于手势处理程序而出现此错误。

错误:捆绑失败:错误:无法从./createNativeWrapper解析模块/Users/Documents/Work/ReactDemoApp/node_modules/react-native-gesture-handler/GestureHandler.js

有任何建议吗?

react-native react-native-ios react-native-gesture-handler
1个回答
0
投票

npm install --save react-native-gesture-handler

链接

react-native链接react-native-gesture-handler

... cd / ios...吊舱安装

如果您已经链接并安装模块,请尝试此操作

删除node_modules,package-lock.json并重新安装。

rm -rf $ TMPDIR / haste-map-*

rm -rf $ TMPDIR /高速缓存*

npm start --reset-cache

© www.soinside.com 2019 - 2024. All rights reserved.