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

TypeError: jhipsterFunc.addAngularJsConfig is not a function #10

Closed alinturbut closed 8 years ago

alinturbut commented 8 years ago

I follow the steps needed for configuration and I get this:

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.addAngularJsConfig is not a function
    at module.exports.yeoman.generators.Base.extend.writing (C:\Users\aturbut\AppData\Roaming\npm\node_modules\generator-jhipster-bootstrap-material-design\generators\app\index.js:70:22)
    at C:\Users\aturbut\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)

P.S. I have previously used this generator and it worked properly. Any help is apreciated :)

moifort commented 8 years ago

Can you give me your jhipster version?

If you have the new version (3.0), lot of stuff are changing, and the module is not compatible anymore. I need to update it :).

Link #11

alinturbut commented 8 years ago

I just saw that your library only supports 2.X :( I guess when I used it before I had the old jhipster version. My current Jhipster version is 3.0.0