moifort / generator-jhipster-bootstrap-material-design

Add material design to your JHipster application
Do What The F*ck You Want To Public License
60 stars 18 forks source link

Problem Generator-jhipster-bootstrap-material-design #1

Closed moifort closed 8 years ago

moifort commented 8 years ago

I try to install your but when i do yo jhipster-bootstrap-material-design i have this error :

     _-----_
    |       |    .--------------------------.
    |--(o)--|    |  Welcome to the JHipster |
   `---------´   |    Bootstrap Material    |
    ( _´U`_ )    |     design generator!    |
    /___A___\    '--------------------------'
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

? Do you want to install Bootstrap Material design? Yes
Composing JHipster configuration with module bootstrap-material-design
Reading the JHipster project configuration for your module
events.js:141
      throw er; // Unhandled 'error' event
      ^

TypeError: jhipsterFunc.addBowerDependency is not a function
    at module.exports.yeoman.generators.Base.extend.writing (MyUSer\AppData\Roaming\npm\node_modules\generator-jhipster-bootstrap-material-design\generators\app\index.js:62:22)
    at MyUSer\AppData\Roaming\npm\node_modules\generator-jhipster-bootstrap-material-design\node_modules\yeoman-generator\lib\base.js:430:16
    at processImmediate [as _immediateCallback] (timers.js:383:17)
moifort commented 8 years ago

To run the generator you need to have a JHipster application generate by 2.26.0 JHipster version or older.

ghost commented 8 years ago

I still get this error no matter what version I use.

robertolos commented 8 years ago

Hi I'm getting the same error with jhipster 3.2.1

Do you want to install Bootstrap Material design? Yes
Composing JHipster configuration with module bootstrap-material-design
Reading the JHipster project configuration for your module
events.js:160
      throw er; // Unhandled 'error' event
      ^

TypeError: jhipsterFunc.addAngularJsConfig is not a function
    at module.exports.yeoman.generators.Base.extend.writing (/usr/lib/node_modules/generator-jhipster-bootstrap-material-design/generators/app/index.js:70:22)
    at /usr/lib/node_modules/generator-jhipster-bootstrap-material-design/node_modules/yeoman-generator/lib/base.js:430:16
    at tryOnImmediate (timers.js:543:15)
    at processImmediate [as _immediateCallback] (timers.js:523:5)
amirensit commented 7 years ago

same problem !