【问题标题】:ion-auto-complete module throwing template parsing error离子自动完成模块抛出模板解析错误
【发布时间】: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


    【解决方案1】:

    您必须将此模块添加到特定组件的模块文件中。 请查看this 讨论。

    【讨论】:

    • 谢谢@LalitKushwah
    猜你喜欢
    • 2017-06-17
    • 2018-07-10
    • 2020-04-02
    • 1970-01-01
    • 1970-01-01
    • 2020-03-15
    • 2016-09-03
    • 2018-05-04
    • 2018-01-27
    相关资源
    最近更新 更多