課程
/前端開發
/前端工具
/Vue+Webpack打造todo應用
不知道怎么會報這個
2018-08-28
源自:Vue+Webpack打造todo應用 2-3
正在回答
devSever拼錯了,是devServer
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
?- configuration has an unknown property 'devSever'. These properties are valid:
? ?object { mode?, amd?, bail?, cache?, context?, dependencies?, devServer?, devtool?, entry?, externals?, loader?, module?, name?, node?, output?, optimization?, parallelism?, performance?, plugins?, profile?, recordsInputPath?, recordsOutputPath?, recordsPath?, resolve?, resolveLoader?, serve?, stats?, target?, watch?, watchOptions? }
? ?For typos: please correct them.
? ?For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration.
? ? ?Loaders should be updated to allow passing options via loader options in module.rules.
? ? ?Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:
? ? ?plugins: [
? ? ? ?new webpack.LoaderOptionsPlugin({
? ? ? ? ?// test: /\.xxx$/, // may apply this only for some modules
? ? ? ? ?options: {
? ? ? ? ? ?devSever: …
? ? ? ? ?}
? ? ? ?})
? ? ?]
看不清
舉報
用前端最熱門框架Vue+最火打包工具Webpack打造todo應用
2 回答npm run dev 時報錯
2 回答npm run dev報錯
1 回答npm run dev的時候報錯
3 回答npm run dev 報錯
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2018-08-30
devSever拼錯了,是devServer
2018-08-30
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
?- configuration has an unknown property 'devSever'. These properties are valid:
? ?object { mode?, amd?, bail?, cache?, context?, dependencies?, devServer?, devtool?, entry?, externals?, loader?, module?, name?, node?, output?, optimization?, parallelism?, performance?, plugins?, profile?, recordsInputPath?, recordsOutputPath?, recordsPath?, resolve?, resolveLoader?, serve?, stats?, target?, watch?, watchOptions? }
? ?For typos: please correct them.
? ?For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration.
? ? ?Loaders should be updated to allow passing options via loader options in module.rules.
? ? ?Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:
? ? ?plugins: [
? ? ? ?new webpack.LoaderOptionsPlugin({
? ? ? ? ?// test: /\.xxx$/, // may apply this only for some modules
? ? ? ? ?options: {
? ? ? ? ? ?devSever: …
? ? ? ? ?}
? ? ? ?})
? ? ?]
2018-08-30
看不清