引入import { Input } from 'antd';控制台报错
来源:9-6 AntDesign样式框架使用
慕慕8998784
2017-02-25
bundle.js:125799 Uncaught Error: Module build failed: ReferenceError: Unknown plugin "transform-object-assign" specified in "f:\\muke-react\\node_modules\\react-slick\\.babelrc" at 0, attempted to resolve relative to "f:\\muke-react\\node_modules\\react-slick"
at f:\muke-react\node_modules\babel-core\lib\transformation\file\options\option-manager.js:180:17
at Array.map (native)
at Function.normalisePlugins (f:\muke-react\node_modules\babel-core\lib\transformation\file\options\option-manager.js:158:20)
at OptionManager.mergeOptions (f:\muke-react\node_modules\babel-core\lib\transformation\file\options\option-manager.js:234:36)
at OptionManager.init (f:\muke-react\node_modules\babel-core\lib\transformation\file\options\option-manager.js:368:12)
at File.initOptions (f:\muke-react\node_modules\babel-core\lib\transformation\file\index.js:216:65)
at new File (f:\muke-react\node_modules\babel-core\lib\transformation\file\index.js:139:24)
at Pipeline.transform (f:\muke-react\node_modules\babel-core\lib\transformation\pipeline.js:46:16)
at transpile (f:\muke-react\node_modules\babel-loader\lib\index.js:46:20)
at Object.module.exports (f:\muke-react\node_modules\babel-loader\lib\index.js:134:16)
2回答
-
Parry
2017-02-26
请截图下引用的语句和chrome控制台错误。
00 -
Parry
2017-02-26
错误比较多,建议删除 node_modules 文件夹后重新执行 npm install 加载所有的包。
022017-02-26
相似问题