(14/15)您想启用国际化支持吗?没有 ? (15/15)除了JUnit和Karma之外,您还想使用哪些测试框架? (按选择,切换全部,反向选择) events.js:141 扔掉//未处理的'错误'事件 ^
SyntaxError:在编译ejs时C:\ Users \ panka \ workspace \ Hipster \ generator-jhipster \ generators \ server \ templates_README.md中的严格模式之外尚不支持块范围声明(let,const,function,class) 在功能(本机) 在Object.Template.compile(C:\ Users \ panka \ workspace \ Hipster \ generator-jhipster \ node_modules \ ejs \ lib \ ejs.js:495:12) at Object.compile(C:\ Users \ panka \ workspace \ Hipster \ generator-jhipster \ node_modules \ ejs \ lib \ ejs.js:306:16) 在handleCache(C:\ Users \ panka \ workspace \ Hipster \ generator-jhipster \ node_modules \ ejs \ lib \ ejs.js:169:18) at Object.exports.render(C:\ Users \ panka \ workspace \ Hipster \ generator-jhipster \ node_modules \ ejs \ lib \ ejs.js:332:10) 在copy.extend.process(C:\ Users \ panka \ workspace \ Hipster \ generator-jhipster \ node_modules \ mem-fs-editor \ lib \ actions \ copy-tpl.js:12:18) 在applyProcessingFunc(C:\ Users \ panka \ workspace \ Hipster \ generator-jhipster \ node_modules \ mem-fs-editor \ lib \ actions \ copy.js:13:16) 在EditionInterface.exports._copySingle(C:\ Users \ panka \ workspace \ Hipster \ generator-jhipster \ node_modules \ mem-fs-editor \ lib \ actions \ copy.js:51:16) 在EditionInterface.exports.copy(C:\ Users \ panka \ workspace \ Hipster \ generator-jhipster \ node_modules \ mem-fs-editor \ lib \ actions \ copy.js:23:17) 在EditionInterface.module.exports [as copyTpl](C:\ Users \ panka \ workspace \ Hipster \ generator-jhipster \ node_modules \ mem-fs-editor \ lib \ actions \ copy-tpl.js:10:8)
答案 0 :(得分:1)
JHipster仅支持最新的NodeJS LTS。从v4升级到v6应该可以解决问题。