【发布时间】:2018-04-19 08:10:39
【问题描述】:
我正在创建一个需要自动完成功能的应用。我探索了一些模块,最终找到了this。我遵循了其中提到的确切步骤。当我运行项目时,它会引发模板解析错误。 以下是错误日志:
syntaxError@http://localhost:8100/build/vendor.js:94602:34TemplateParser.prototype.parse@http://localhost:8100/build/vendor.js:118465:19JitCompiler.prototype._parseTemplate@http://localhost:8100/build/vendor.js:127893:16JitCompiler.prototype._compileTemplate@http://localhost:8100/build/vendor.js:127868:18JitCompiler.prototype._compileComponents/http://localhost:8100/build/vendor.js:127770:56JitCompiler.prototype. _compileComponents@http://localhost:8100/build/vendor.js:127770:9 JitCompiler.prototype._compileModuleAndComponents/http://localhost:8100/build/vendor.js:127640:13 then@http://localhost:8100/build/vendor.js:94591:77 JitCompiler.prototype._compileModuleAndComponents@http://localhost:8100/build/vendor.js:127639:16 JitCompiler.prototype.compileModuleAsync@http://localhost:8100/build/vendor.js:127555:32CompilerImpl98765443332@PlatformImpl.prototype. prototype.bootstrapModule@http://localhost:8100/build/vendor.js:6110:16 [361]@http://localhost:8100/build/main.js:1143:1 webpack_require@http://localhost:8100/build/vendor.js:55:12 webpackJsonpCallback@http://localhost:8100/build/vendor.js:26:23 @http://localhost:8100/build/main.js:1:1
这可能是什么原因和解决方案?
【问题讨论】:
标签: angular ionic-framework autocomplete ionic3