Advertisement

SystemJS无法解决所有参数

阅读量:

在angular4项目中引入service的DI注入机制之后,完成编译并在tomcat环境下执行时,系统持续出现提示信息

复制代码
 (SystemJS) Can't resolve all parameters for TestComponent: (?).

    
 	syntaxError@http://localhost:8080/web/node_modules/@angular/compiler/bundles/compiler.umd.js:1513:34 [<root>]
    
 	CompileMetadataResolver.prototype._getDependenciesMetadata@http://localhost:8080/web/node_modules/@angular/compiler/bundles/compiler.umd.js:14790:35 [<root>]
    
 	CompileMetadataResolver.prototype._getTypeMetadata@http://localhost:8080/web/node_modules/@angular/compiler/bundles/compiler.umd.js:14658:21 [<root>]
    
 	CompileMetadataResolve

全部评论 (0)

还没有任何评论哟~