angular2-找不到管道

li12 发布于 2017/04/09 12:28
阅读 340
收藏 0

【深度】AI、5G时代下,算力网络与内生安全最全解析!>>>

各位朋友回复一下呗

Unhandled Promise rejection: Template parse errors:
The pipe 'translate' could not be found ("    <button class="btn btn-default" type="button"><i class="fa fa-search" aria-hidden="true"></i> {{[ERROR ->]'search' | translate}}</button>

                    </span>

                </div>

"): AboutComponent@8 :120 ; Zone: <root> ; Task: Promise.then ; Value: Object { __zone_symbol__error: Error, fileName: Getter, lineNumber: Getter, columnNumber: Getter, message: Getter, name: Getter, stack: Getter, originalStack: Getter, zoneAwareStack: Getter, toString: createMethodProperty/props[key].value(), 等 5 项… } BaseError@http ://localhost:5555/node_modules/@angular/compiler/bundles/compiler.umd.js:1592:13 [<root>]
SyntaxError@http ://localhost:5555/node_modules/@angular/compiler/bundles/compiler.umd.js:1795:13 [<root>]
TemplateParser</TemplateParser.prototype.parse@http://localhost:5555/node_modules/@angular/compiler/bundles/compiler.umd.js:11435:23 [<root>]
JitCompiler</JitCompiler.prototype._compileTemplate@http://localhost:5555/node_modules/@angular/compiler/bundles/compiler.umd.js:27548:51 [<root>]
JitCompiler</JitCompiler.prototype._compileComponents/<@http://localhost:5555/node_modules/@angular/compiler/bundles/compiler.umd.js:27431:60 [<root>]
JitCompiler</JitCompiler.prototype._compileComponents@http://localhost:5555/node_modules/@angular/compiler/bundles/compiler.umd.js:27431:13 [<root>]
JitCompiler</JitCompiler.prototype._compileModuleAndComponents/createResult@http://localhost:5555/node_modules/@angular/compiler/bundles/compiler.umd.js:27313:17 [<root>]
Zone.prototype.run@http://localhost:5555/node_modules/._zone.js@0.7.8@zone.js/dist/zone.js?1491711680086:126:24 [<root> => <root>]
scheduleResolveOrReject/<@http://localhost:5555/node_modules/._zone.js@0.7.8@zone.js/dist/zone.js?1491711680086:713:52 [<root>]
Zone.prototype.runTask@http://localhost:5555/node_modules/._zone.js@0.7.8@zone.js/dist/zone.js?1491711680086:166:28 [<root> => <root>]
drainMicroTaskQueue@http://localhost:5555/node_modules/._zone.js@0.7.8@zone.js/dist/zone.js?1491711680086:546:25 [<root>]
ZoneTask/this.invoke@http://localhost:5555/node_modules/._zone.js@0.7.8@zone.js/dist/zone.js?1491711680086:424:25 [<root>]
  zone.js:522:13
Object { __zone_symbol__error: Error, fileName: Getter, lineNumber: Getter, columnNumber: Getter, message: Getter, name: Getter, stack: Getter, originalStack: Getter, zoneAwareStack: Getter, toString: createMethodProperty/props[key].value(), 等 5 项… }  zone.js:524:9

       

加载中
返回顶部
顶部