找不到模块:无法解析“ E:\ Redux \ calc \ src”中的“ react-addons-update”

Yogesh Borad

我曾在ReactJS中工作过。我在更改数据副本而不更改原始源时发现了此错误。

我已经'react-addons-update'导入了更新

在此处输入图片说明

它仍然抛出以上错误。

Yogesh Borad

react-addons-update不可变性助手代替显然,Facebook弃用了react-addons-update。

解决方案是我自己找到的:

npm install immutability-helper-保存

另外,update import update在代码中替换为:

从“ immutability-helper”导入更新;

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

找不到模块:无法解析“ \ node_modules \ react-addons-perf”中的“ react-dom / lib / ReactPerf”

找不到模块:错误:无法解析模块“ react-addons-test-utils”

找不到模块:无法解析“react-redux-form”

找不到模块:无法在node_modules中解析“ redux”

[React Webpack]:找不到模块:错误:无法解析“ C:\ Users \ ....”中的“ src / views / UserList”

找不到模块:无法解析“D:\gmail-react\src”中的“firebase”

找不到模块:无法解析“C:\react-test\src\components\content”中的“node_modules/react”

找不到模块:无法解析“ C:\ react-form-validation-demo \ src”中的“ bootstrap / dist / css / bootstrap-theme.css”

找不到模块:无法解析“D:\own_files\ReactTutorial\react-app\src”中的“@material-ui/core/Avatar”

找不到模块:无法在React中解析'@ material-ui / core / RaisedButton'

找不到模块:无法在reactjs的“ node_modules \ react-moment \ dist”中解析“ moment”

错误:无法从index.js中解析模块react:在项目中找不到反应

找不到模块:无法解析 './src/refreshableScrollView

找不到模块:无法在“ / app / node_modules / react-native-aes-crypto”中解析“ react-native”

无法安装react-addons-transition-group

“找不到模块:错误:无法解析模块'react / lib / ReactMount'”

找不到模块:无法在React App中解析'/root/project/node_modules/eslint-loader/index.js

找不到模块:无法使用 Next.js mysql Express React 解析“.../node_modules/destroy”中的“fs”

找不到模块:错误:无法解析“ / Users / <用户名> / Documents / gift-test / client”中的“ ./node_modules/react”

React Redux无法解析自己的模块

在 React 中找不到模块

找不到模块:无法解析'react / lib / React'

找不到输入模块:错误:无法解析“ ./src”

反应:找不到模块:无法解析“ react-html-parser”

找不到模块:无法解析“ react-router-dom”

找不到模块:错误:无法解析“ cypress-react-selector”

找不到模块:无法解析“@react-three/cannon”

找不到模块“ react-redux”的声明文件。

找不到模块:错误:无法解析“ / home / user / Desktop / my_app / src”中的“ ./app”