亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

運行報錯.

D:\test1>npm run dev


> [email protected] dev D:\test1

> webpack-dev-server --inline --progress --config build/webpack.dev.conf.js


?14% building modules 37/43 modules 6 active ...ndex=0!D:\test1\src\components\A1.vue{ parser: "babylon" } is deprecated; we now treat it as { parser: "babel" }.

?95% emitting


?WARNING? Compiled with 2 warnings? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?4:52:33 ├F10: PM┤



? ?? http://eslint.org/docs/rules/no-trailing-spaces? Trailing spaces not allowed

? src\components\A.vue:7:1


? ?^



? 1 problem (1 error, 0 warnings)



Errors:

? 1? http://eslint.org/docs/rules/no-trailing-spaces



? ?? http://eslint.org/docs/rules/no-unused-vars? 'HelloWorld' is defined but never used

? src\router\index.js:3:8

? import HelloWorld from '@/components/HelloWorld'

? ? ? ? ? ^


? ?? http://eslint.org/docs/rules/spaced-comment? Expected space or tab after '//' in comment

? src\router\index.js:13:16

? ? ? path: '/', //路徑

? ? ? ? ? ? ? ? ? ^


? ?? http://eslint.org/docs/rules/spaced-comment? Expected space or tab after '//' in comment

? src\router\index.js:15:23

? ? ? component: First, //引用文件名

? ? ? ? ? ? ? ? ? ? ? ? ?^


? ?? http://eslint.org/docs/rules/indent? ? ? ? ? Expected indentation of 6 spaces but found 8

? src\router\index.js:17:1

? ? ? ? ? path: '/A',

? ?^


? ?? http://eslint.org/docs/rules/indent? ? ? ? ? Expected indentation of 6 spaces but found 8

? src\router\index.js:18:1

? ? ? ? ? name: 'A',

? ?^


? ?? http://eslint.org/docs/rules/indent? ? ? ? ? Expected indentation of 6 spaces but found 8

? src\router\index.js:19:1

? ? ? ? ? component: A,

? ?^


? ?? http://eslint.org/docs/rules/comma-dangle? ? Unexpected trailing comma

? src\router\index.js:19:21

? ? ? ? ? component: A,

? ? ? ? ? ? ? ? ? ? ? ?^


? ?? http://eslint.org/docs/rules/indent? ? ? ? ? Expected indentation of 4 spaces but found 6

? src\router\index.js:20:1

? ? ? ? },

? ?^


? ?? http://eslint.org/docs/rules/indent? ? ? ? ? Expected indentation of 4 spaces but found 6

? src\router\index.js:21:1

? ? ? ? {

? ?^


? ?? http://eslint.org/docs/rules/indent? ? ? ? ? Expected indentation of 6 spaces but found 8

? src\router\index.js:22:1

? ? ? ? ? path: '/B',

? ?^


? ?? http://eslint.org/docs/rules/indent? ? ? ? ? Expected indentation of 6 spaces but found 8

? src\router\index.js:23:1

? ? ? ? ? name: 'B',

? ?^


? ?? http://eslint.org/docs/rules/indent? ? ? ? ? Expected indentation of 6 spaces but found 8

? src\router\index.js:24:1

? ? ? ? ? component: B

? ?^


? ?? http://eslint.org/docs/rules/indent? ? ? ? ? Expected indentation of 4 spaces but found 6

? src\router\index.js:25:1

? ? ? ? },

? ?^


? ?? http://eslint.org/docs/rules/indent? ? ? ? ? Expected indentation of 4 spaces but found 6

? src\router\index.js:26:1

? ? ? ? {

? ?^


? ?? http://eslint.org/docs/rules/indent? ? ? ? ? Expected indentation of 6 spaces but found 8

? src\router\index.js:27:1

? ? ? ? ? path: '/A1',

? ?^


? ?? http://eslint.org/docs/rules/indent? ? ? ? ? Expected indentation of 6 spaces but found 8

? src\router\index.js:28:1

? ? ? ? ? name: 'A1',

? ?^


? ?? http://eslint.org/docs/rules/indent? ? ? ? ? Expected indentation of 6 spaces but found 8

? src\router\index.js:29:1

? ? ? ? ? component: A1,

? ?^


? ?? http://eslint.org/docs/rules/comma-dangle? ? Unexpected trailing comma

? src\router\index.js:29:22

? ? ? ? ? component: A1,

? ? ? ? ? ? ? ? ? ? ? ? ^


? ?? http://eslint.org/docs/rules/indent? ? ? ? ? Expected indentation of 4 spaces but found 6

? src\router\index.js:30:1

? ? ? ? }

? ?^



? 19 problems (19 errors, 0 warnings)



Errors:

? 14? http://eslint.org/docs/rules/indent

? ?2? http://eslint.org/docs/rules/spaced-comment

? ?2? http://eslint.org/docs/rules/comma-dangle

? ?1? http://eslint.org/docs/rules/no-unused-vars

You may use special comments to disable some warnings.

Use // eslint-disable-next-line to ignore the next line.

Use /* eslint-disable */ to ignore all warnings in a file.


正在回答

1 回答

Expected indentation of 4 spaces but found 6這種就是空格打多了,在給出提示的那一行刪掉空格就行,提示里30:1的這種形式指的是30行1列的位置,列的位置差不多找就能找到。


0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

運行報錯.

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號