Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.4.3
-
None
Description
Files View fails to compile due to the following error:
[INFO] --- exec-maven-plugin:1.3.2:exec (Files build) @ files --- /grid/0/jenkins/workspace/Zuul_Ambari_Build_Job/hdp-BUILDS/ambari/contrib/views/files/src/main/resources/ui/node_modules/ember-cli-htmlbars-inline-precompile/index.js:14 init() { ^ Unexpected token ( /grid/0/jenkins/workspace/Zuul_Ambari_Build_Job/hdp-BUILDS/ambari/contrib/views/files/src/main/resources/ui/node_modules/ember-cli-htmlbars-inline-precompile/index.js:14 init() { ^ SyntaxError: Unexpected token ( at exports.runInThisContext (vm.js:73:16) at Module._compile (module.js:443:25) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17)
This is because ember-cli-htmlbars-inline-precompile@0.3.8 was introduced. The build process worked fine with ember-cli-htmlbars-inline-precompile@0.3.6 before. Modifying package.json to fix the version to 0.3.6 let
s the build finish successfully.