您的位置: 首页 > 文章 > npm start react 文件时This is probably not a problem with npm. There is likely additional logging outpu npm start react 文件时This is probably not a problem with npm. There is likely additional logging outpu 分类: 文章 • 2024-05-18 20:42:52 npm start react 文件时报错 不是npm的原因应该是react-scripts 解决 1删除package-lock.json 文件 2 删除node_modules 3 在package.json --找到react-scripts 将版本号修改为2.1.8 4 npm install 就行了