我只是将成员-cli应用程序从0.0.40升级到0.1.2。
在跟踪此升级指南并尽我所能地升级所有插件之后,转发程序似乎在徽标文件上显示了功能:
➜ participate-frontend git:(upgrade-cli) ✗ ember build version: 0.1.2 Build failed. File: participate-frontend/templates/alert.js Line 1: Unexpected identifier Error: Line 1: Unexpected identifier at throwError (/Users/work/Projects/participate-frontend/node_modules/ember-cli/node_modules/broccoli-es6-concatenator/node_modules/es6-module-transpiler/dist/es6-module-transpiler.js:2579:21) at throwUnexpected (/Users/work/Projects/participate-frontend/node_modules/ember-cli/node_modules/broccoli-es6-concatenator/node_modules/es6-module-transpiler/dist/es6-module-transpiler.js:2623:13) at expect (/Users/work/Projects/participate-frontend/node_modules/ember-cli/node_modules/broccoli-es6-concatenator/node_modules/es6-module-transpiler/dist/es6-module-transpiler.js:2650:13) at parseArrayInitialiser (/Users/work/Projects/participate-frontend/node_modules/ember-cli/node_modules/broccoli-es6-concatenator/node_modules/es6-module-transpiler/dist/es6-module-transpiler.js:2783:21) at parsePrimaryExpression (/Users/work/Projects/participate-frontend/node_modules/ember-cli/node_modules/broccoli-es6-concatenator/node_modules/es6-module-transpiler/dist/es6-module-transpiler.js:3076:20) at /Users/work/Projects/participate-frontend/node_modules/ember-cli/node_modules/broccoli-es6-concatenator/node_modules/es6-module-transpiler/dist/es6-module-transpiler.js:5661:38 at trackLeftHandSideExpressionAllowCall (/Users/work/Projects/participate-frontend/node_modules/ember-cli/node_modules/broccoli-es6-concatenator/node_modules/es6-module-transpiler/dist/es6-module-transpiler.js:5563:61) at parsePostfixExpression (/Users/work/Projects/participate-frontend/node_modules/ember-cli/node_modules/broccoli-es6-concatenator/node_modules/es6-module-transpiler/dist/es6-module-transpiler.js:3214:20) at /Users/work/Projects/participate-frontend/node_modules/ember-cli/node_modules/broccoli-es6-concatenator/node_modules/es6-module-transpiler/dist/es6-module-transpiler.js:5661:38 at parseUnaryExpression (/Users/work/Projects/participate-frontend/node_modules/ember-cli/node_modules/broccoli-es6-concatenator/node_modules/es6-module-transpiler/dist/es6-module-transpiler.js:3278:16)
对于造成这种情况的原因,或者如何调试它,有什么想法吗?
发布于 2014-10-22 19:46:22
我只是自己遇到了错误,它看起来是由于更新了一个成员模板编译器模块,作为花椰菜会徽编译器的一部分。根据本讨论,https://github.com/stefanpenner/ember-cli/issues/2357
我是新的节点模块管理,但我做了下面的联系花椰菜-徽章编译器的依赖于一个旧版本的成员模板编译器。
有点笨手笨脚,但这是唯一的办法,迫使花椰菜标志编译器使用旧版本的成员模板编译器在我的机器上。
https://stackoverflow.com/questions/26495588
复制相似问题