1

多次全新安装尝试,大量重新启动,仍然感到沮丧。抱歉,如果其中一些是新手问题。

按照这个非常简洁的指南,我已经完成了工具设置:

http://v4-alpha.getbootstrap.com/getting-started/build-tools/#tooling-setup

唉,我的第一个 grunt 命令在 scsslint 呕吐:

Running "scsslint:src" (scsslint) task
Running scss-lint on src
scss/_custom-forms.scss:133 [W] PropertySortOrder: Properties should be ordered
display, max-width, padding, padding-right, vertical-align, background, background-image, background-size, border, -moz-appearance, -webkit-appearance, appearance
scss/_custom-forms.scss:134 [W] Indentation: Line should be indented with spaces, not tabs
scss/_custom-forms.scss:148 [W] PropertySortOrder: Properties should be ordered border-color, outline, box-shadow
scss/_dropdown.scss:56 [W] PropertySortOrder: Properties should be ordered display, width, padding, clear, font-weight, line-height, color, text-align, white-space, background, border
scss/_forms.scss:269 [W] PropertySortOrder: Properties should be ordered padding-right, background-repeat, background-position, background-size
scss/_input-group.scss:100 [W] Shorthand: Shorthand form for property padding should be written more concisely as $input-padding-x-lg instead of $input-pad ding-x-lg $input-padding-x-lg
scss/_labels.scss:44 [W] PropertySortOrder: Properties should be ordered padding-right, padding-left, border-radius
scss/_list-group.scss:51 [W] PropertySortOrder: Properties should be ordered width, color, text-align
scss/_modal.scss:29 [W] PropertySortOrder: Properties should be ordered transition, transform
scss/_navbar.scss:73 [W] PropertySortOrder: Properties should be ordered float,padding-top, padding-bottom, margin-right, font-size
scss/_navbar.scss:93 [W] PropertySortOrder: Properties should be ordered float,width, padding-top, padding-bottom, margin-right, margin-left, overflow
scss/_navbar.scss:98 [W] StringQuotes: Prefer double-quoted strings
scss/_type.scss:179 [W] PropertySortOrder: Properties should be ordered margin-bottom, line-height
scss/_utilities-spacing.scss:43 [W] PropertySortOrder: Properties should be ordered padding-right, padding-left
Warning: Task "scsslint:src" failed. Use --force to continue.

Aborted due to warnings.'
4

1 回答 1

0

刚遇到同样的问题。默认任务grunt test也会调用,但实际上失败了。grunt dist改为用于建筑。

于 2015-10-19T08:09:38.227 回答