React项目start时的babel报错

#1

报了这个错误
image

package.json文件下的版本
image

babelrc文件
image

求救

#2

重新install试试,不行的话错误信息弄清楚点:grinning:

#4

重新install也不行
image

#5

你这个是截图吗?咋不能放大

#6

ERROR in ./node_modules/react-resizable/index.js
Module build failed: ReferenceError: Unknown plugin “@babel/plugin-proposal-class-properties” specified in “D:\Project\kanban\kanbanProject\kanban-client\kanban-client\node_modules\react-resizable\.babelrc” at 0, attempted to resolve relative to “D:\Project\kanban\kanbanProject\kanban-client\kanban-client\node_modules\react-resizable”
at D:\Project\kanban\kanbanProject\kanban-client\kanban-client\node_modules\babel-core\lib\transformation\file\options\option-manager.js:180:17
at Array.map ()
at Function.normalisePlugins (D:\Project\kanban\kanbanProject\kanban-client\kanban-client\node_modules\babel-core\lib\transformation\file\options\option-manager.js:158:20)
at OptionManager.mergeOptions (D:\Project\kanban\kanbanProject\kanban-client\kanban-client\node_modules\babel-core\lib\transformation\file\options\option-manager.js:234:36) at OptionManager.init (D:\Project\kanban\kanbanProject\kanban-client\kanban-client\node_modules\babel-core\lib\transformation\file\options\option-manager.js:368:12)
at File.initOptions (D:\Project\kanban\kanbanProject\kanban-client\kanban-client\node_modules\babel-core\lib\transformation\file\index.js:212:65)
at new File (D:\Project\kanban\kanbanProject\kanban-client\kanban-client\node_modules\babel-core\lib\transformation\file\index.js:135:24)
at Pipeline.transform (D:\Project\kanban\kanbanProject\kanban-client\kanban-client\node_modules\babel-core\lib\transformation\pipeline.js:46:16)
at transpile (D:\Project\kanban\kanbanProject\kanban-client\kanban-client\node_modules\babel-loader\lib\index.js:50:20)
at Object.module.exports (D:\Project\kanban\kanbanProject\kanban-client\kanban-client\node_modules\babel-loader\lib\index.js:173:20)
@ ./node_modules/react-grid-layout/build/GridItem.js 27:22-48
@ ./node_modules/react-grid-layout/build/ReactGridLayout.js
@ ./node_modules/react-grid-layout/index.js
@ ./app/component/Layout.js
@ ./app/component/factory.dev.js
@ ./app/main.dev.js
@ multi (webpack)-dev-server/client?http://localhost:8100 ./app/main.dev.js

文本可以吗

#7

其他人也能看清,有助于你问题解决:sunny: