gpt4 book ai didi

reactjs - react native : Under what circumstances do you have to manually add dependencies of your dependencies?

转载 作者:行者123 更新时间:2023-12-03 13:37:26 27 4
gpt4 key购买 nike

我的 React Native 项目中有组件 react-native-modal-datetime-picker 。它抛出以下错误:

错误:捆绑失败:错误:无法从“node_modules/react-native-modal-datetime-picker/src/DateTimePickerModal.android.js”解析模块“@react-native-community/datetimepicker”:@在项目中找不到react-native-community/datetimepicker。

似乎在 react-native-modal-datetime-picker 模块中引用了 @react-native-community/datetimepicker 模块。我以前从未遇到过必须手动添加另一个依赖项的依赖项的情况。有谁知道为什么会发生这种情况吗?

最佳答案

see the github

你需要运行这个:

博览会安装react-native-modal-datetime-picker @react-native-community/datetimepicker

关于reactjs - react native : Under what circumstances do you have to manually add dependencies of your dependencies?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59780761/

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