我正在构建一个使用react-router,flux的应用程序,我发现这个名为redux-auth(https://github.com/lynndylanhurley/redux-auth)的库。我正在尝试使用它,因为它在登录,注册等方面做了大量工作。 我按照这个顺序用npm安装了依赖项 - >
npm install redux-auth --save
npm install material-ui --save
npm install react-tap-event-plugin
在此之后我得到了我提到的错误,无法找到模块isActive。 所以我搜索了网络,发现这篇文章: https://github.com/acdlite/redux-router/issues/111
使用此命令修复它的位置:npm install --save history react-router@latest followed by npm install --save redux-router@1.0.0-beta3
在此之后我的应用程序崩溃,现在我收到错误:"Error: ajax not supported in this browser" when prerendering Router with / and {}
出现此类错误的行:<%= react_router 'Router', 'HistoryLocation', {}, { prerender: params[:noprerender].nil?, prerender_location: root_path } %>
尝试卸载这些库但没有解决,尝试删除node_modules目录并使用npm重建但是没有工作。 任何帮助或建议?我不可能使用这个库吗?它可能是助焊剂和还原剂之间的兼容性问题吗?欢迎任何帮助。
编辑#1:我正在使用Chrome。