在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/HTML/ vue運(yùn)行項(xiàng)目的時(shí)候報(bào)錯(cuò)

vue運(yùn)行項(xiàng)目的時(shí)候報(bào)錯(cuò)

ERROR Failed to compile with 1 errors 00:02:13

error in ./src/main.js

Module build failed: ReferenceError: Unknown plugin "transform-vue-jsx" specified in "/Users/fanhongyan/Desktop/sell app /.babelrc" at 0, attempted to resolve relative to "/Users/fanhongyan/Desktop/sell app "

at /Users/fanhongyan/Desktop/sell app /sell/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17
at Array.map (<anonymous>)
at Function.normalisePlugins (/Users/fanhongyan/Desktop/sell app /sell/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)
at OptionManager.mergeOptions (/Users/fanhongyan/Desktop/sell app /sell/node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36)
at OptionManager.init (/Users/fanhongyan/Desktop/sell app /sell/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
at File.initOptions (/Users/fanhongyan/Desktop/sell app /sell/node_modules/babel-core/lib/transformation/file/index.js:212:65)
at new File (/Users/fanhongyan/Desktop/sell app /sell/node_modules/babel-core/lib/transformation/file/index.js:135:24)
at Pipeline.transform (/Users/fanhongyan/Desktop/sell app /sell/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
at transpile (/Users/fanhongyan/Desktop/sell app /sell/node_modules/babel-loader/lib/index.js:50:20)
at Object.module.exports (/Users/fanhongyan/Desktop/sell app /sell/node_modules/babel-loader/lib/index.js:175:20)

@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js

回答
編輯回答
青瓷

npm install babel-plugin-transform-vue-jsx --save-dev

2018年2月10日 02:56