React native 导入&x27;反应本机手势处理程序';引起错误
我正在尝试使用React导航构建我的第一个React本机应用程序。我安装了以下所有依赖项,但当我将React native 导入&x27;反应本机手势处理程序';引起错误,react-native,React Native,我正在尝试使用React导航构建我的第一个React本机应用程序。我安装了以下所有依赖项,但当我将import'react native signature handler'添加到app.js时,我收到以下错误: info Reloading app... [Fri Sep 04 2020 01:33:50.990] BUNDLE ./index.js error: node_modules/react-native-gesture-handler/index.js: Cannot fi
import'react native signature handler'
添加到app.js时,我收到以下错误:
info Reloading app...
[Fri Sep 04 2020 01:33:50.990] BUNDLE ./index.js
error: node_modules/react-native-gesture-handler/index.js: Cannot find module '/Users/hugovillalobos/Documents/Code/cinetogoproject/mobile/cinetogo/node_modules/@react-native-community/cli/node_modules/metro-react-native-babel-transformer/src/index.js'
[Fri Sep 04 2020 01:34:47.390] BUNDLE ./index.js
error: node_modules/react-native-gesture-handler/index.js: Cannot find module '/Users/hugovillalobos/Documents/Code/cinetogoproject/mobile/cinetogo/node_modules/@react-native-community/cli/node_modules/metro-react-native-babel-transformer/src/index.js'
我不知道如何修复它您能再添加一点代码吗,请重新安装react native手势处理程序