Jhipster材料不起作用

时间:2017-02-07 09:27:00

标签: jhipster

Hello Hipsters我试图生成 jhipster-material 应用程序,但它显示以下错误

 $ yo jhipster-material
C:\Users\mypc\AppData\Roaming\npm\node_modules\generator-jhipster-material\generators\app\index.js:64
  configuring: {
  ^^^^^^^^^^^
SyntaxError: missing ) after argument list
    at Object.exports.runInThisContext (vm.js:76:16)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.get [as jhipster-material:app] (C:\Users\mypc\AppData\Roaming\npm\node_modules\yo\node_modules\yeoman-environment\lib\store.js:40:23)
    at Store.get (C:\Users\mypc\AppData\Roaming\npm\node_modules\yo\node_modules\yeoman-environment\lib\store.js:64:35)

我从这里github: generator-jhipster-material

安装了generator-jhipster-material

我正在使用 jHipster版本4.0.0 节点版本6.9.4 纱线版本​​0.19.1

任何人都可以帮助我如何使其发挥作用

1 个答案:

答案 0 :(得分:6)

generator-jhipster-material尚未移植到角度2,这是一项很大的工作,因为JHipster 4基于Bootstrap 4,它与Material Design重叠。这意味着基本上所有模板(HTML + CSS)都必须重新设计。