10%建筑模块3/4模块1活动... niversal \ teaching-ng5 \ src \ styles.scssNode#moveTo已弃用。使用Container#append。 PostCSS插件出现未知错误。您当前的PostCSS版本是6.0.16,但postcss-merge-rules使用5.2.18。也许这是下面错误的来源。 69%构建模块1881/1882模块1活动...来自PostCSS插件的niversal \ teaching-ng5 \ src \ styles.scssUnknown错误。您当前的PostCSS版本是6.0.16,但postcss-merge-rules使用5.2.18。也许这是下面错误的来源。 日期:2018-01-19T04:55:56.763Z 哈希:5877c3bd8fb73ef79691 时间:342285ms
> ./src/styles.scss中的错误 模块构建失败:错误:未公开的评论 在Object.error(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-selector-parser \ dist \ processor.js:29:23) at unclosed(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-selector-parser \ dist \ tokenize.js:57:25) at tokenize(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-selector-parser \ dist \ tokenize.js:190:25) 在新的Parser(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-selector-parser \ dist \ parser.js:101:50) 在Processor.process(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-selector-parser \ dist \ processor.js:26:21) 在F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-merge-rules \ dist \ lib \ ensureCompatibility.js:134:12 在Array.every(本机) 在ensureCompatibility(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-merge-rules \ dist \ lib \ ensureCompatibility.js:79:22) at canMerge(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-merge-rules \ dist \ index.js:72:44) 在F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-merge-rules \ dist \ index.js:220:24 在F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss \ lib \ container.js:237:28 在F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss \ lib \ container.js:144:26 在Root.each(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss \ lib \ container.js:110:22) 在Root.walk(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss \ lib \ container.js:143:21) 在Root.walkRules(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss \ lib \ container.js:235:25) 在F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-merge-rules \ dist \ index.js:267:13 @ multi ./src/styles.scss ./src/styles.scss中的错误 模块构建失败:ModuleBuildError:模块构建失败:错误:未关闭的注释 在Object.error(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-selector-parser \ dist \ processor.js:29:23) at unclosed(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-selector-parser \ dist \ tokenize.js:57:25) at tokenize(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-selector-parser \ dist \ tokenize.js:190:25) 在新的Parser(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-selector-parser \ dist \ parser.js:101:50) 在Processor.process(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-selector-parser \ dist \ processor.js:26:21) 在F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-merge-rules \ dist \ lib \ ensureCompatibility.js:134:12 在Array.every(本机) 在ensureCompatibility(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-merge-rules \ dist \ lib \ ensureCompatibility.js:79:22) at canMerge(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-merge-rules \ dist \ index.js:72:44) 在F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-merge-rules \ dist \ index.js:220:24 在F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss \ lib \ container.js:237:28 在F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss \ lib \ container.js:144:26 在Root.each(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss \ lib \ container.js:110:22) 在Root.walk(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss \ lib \ container.js:143:21) 在Root.walkRules(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss \ lib \ container.js:235:25) 在F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-merge-rules \ dist \ index.js:267:13 在runLoaders(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ webpack \ lib \ NormalModule.js:195:19) 在F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ loader-runner \ lib \ LoaderRunner.js:364:11 在F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ loader-runner \ lib \ LoaderRunner.js:230:18 在context.callback(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ loader-runner \ lib \ LoaderRunner.js:111:13) 在Promise.resolve.then.then.catch(F:\ angular2 \ universal \ teaching-ng5 \ node_modules \ postcss-loader \ lib \ index.js:189:71) at process._tickCallback(internal / process / next_tick.js:109:7) @ ./src/styles.scss @ multi ./src/styles.scss
Angular CLI:1.6.4 节点:6.10.1 操作系统:win32 x64 Angular:5.2.1 ...动画,常见,编译器,编译器 - cli,核心,表单 ... http,语言服务,平台浏览器 ...平台浏览器动态,路由器,服务工作者 @ angular / cli:1.6.4 @ angular-devkit / build-optimizer:0.0.41 @ angular-devkit / core:0.0.28 @ angular-devkit / schematics:0.0.51 @ ngtools / json-schema:1.1.0 @ ngtools / webpack:1.9.4 @ schematics / angular:0.1.16 打字稿:2.5.3 webpack:3.10.0