1

我正在尝试将 ember-rails 应用程序从 ember v1.13 升级到 v2.0。应用程序加载和模板在 ember 1.13 中呈现,并且控制台没有弃用。当我将版本提升到 2.0.0(通过 ember-source gem)时,应用程序似乎没有加载并且没有呈现模板。相反,这个错误出现在 JS 控制台中: Uncaught Error: ExecJS::RuntimeError: SyntaxError: Unexpected strict mode reserved word 如果我刷新页面,突然我遇到了把手预编译错误:

Uncaught Error: Barber::PrecompilerError: Pre compilation failed for: (prints out file contents) Compiler said: ReferenceError: Handlebars is not defined

关于可能是什么原因的任何想法?任何输入将不胜感激,因为我已经坚持了几个小时!!!

4

0 回答 0