reactjs - 将 material-ui 3.9.3 更新到 4.2.1 问题
问题描述
我已将 package.json 文件更新为...并运行 npm install 但我的 package-lock.json 文件仍显示 material-ui 3.9.3 ...
"@material-ui/icons": "^4.0.0",
"@material-ui/core": {
"version": "3.9.3",
"resolved": "https://registry.npmjs.org/@material-ui/core/-/core-3.9.3.tgz",
"integrity": "sha512-REIj62+zEvTgI/C//YL4fZxrCVIySygmpZglsu/Nl5jPqy3CDjZv1F9ubBYorHqmRgeVPh64EghMMWqk4egmfg==",
"requires": {```
Removed all package-lock.json code and rerun npm install.
I have npm install @material-ui/core and then run npm install still i am getting 3.9.3
I need to create a component using the slider and am unable to find module Slider in /core
Is there a reason why I am unable to get this project to update? I am running Reactjs 16.8.6
解决方案
推荐阅读
- javascript - 根据子数组唯一值获取值
- javascript - Webpack 4 - 无法通过相对路径在 SCSS 文件中加载 CSS
- javascript - 如何在 React.js 中将 formData 作为对象的嵌套值发送?
- javascript - Chartjs - 将图例更改为带有圆点样式的线?
- jboss - 如何从 Wildfly 的连接池中手动删除数据源连接?
- pandas - 如何处理熊猫中的同名列
- prolog - Prolog:为什么这个谓词没有失败,一个空列表作为参数传递
- python - Gensim LDA:如何获取每个主题中单词的数量(频率)?
- git - git hook 批量取消暂存路径中的所有文件
- mysql - MySQL:如何为 original_id 添加一列?