我想使用react-native在android中制作一个应用程序,但是当我开始在博览会上运行时,出现了一些问题。在这种情况下,我使用redux概念。该错误表明该应用为Unable to resolve module 'module://reducers/index.js'
当我只想确保我所做的导航在没有redux概念的情况下可以完美运行时,在应用程序博览会中可以很好地运行
这是reducers / index.js中的罪魁祸首
import angkaReducer from './angkaReducer'`
import {combineReducers} from 'redux';
const allReducers = combineReducers({
listAngka: angkaReducer,
});
export default allReducers;
文件package.json
{
"dependencies": {
"redux": "^4.0.4",
"react-redux": "^7.1.1",
"react-navigation": "4.0.7",
"react-navigation-stack": "^1.10.3",
"react-native-paper": "2.16.0"
}
}
我希望输出是具有redux和导航概念的应用程序