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

issue while running "yo jhipster-bootstrap-material-design" #23

Closed saad14092 closed 4 years ago

saad14092 commented 6 years ago

Hello, I am using the latest version of JHipster with Angular 5 for the front end. Here is the stack trace, any ideas what might be the problem ? Thank you.

? Do you want to install Bootstrap Material design? (y/N) y ? Do you want to install Bootstrap Material design? Yes Composing JHipster configuration with module bootstrap-material-design WARNING! DEPRECATED! The JHipster module sub-generator is deprecated. WARNING! Please import the generator-base.js using commonJS require or ES2015 import. WARNING! See http://www.jhipster.tech/modules/creating-a-module for more details.

Reading the JHipster project configuration for your module

Unable to find bower.json. Reference to bower dependency (name: arrive, version:2.3.0) not added.

events.js:183 throw er; // Unhandled 'error' event ^

TypeError: this.debug is not a function at Object.addBowerDependency (E:\work\git\mmz\node_modules\generator-jhipster\generators\generator-base.js:608:18) at child.writing (C:\Users\SAAD\AppData\Local\Yarn\Data\global\node_modules\generator-jhipster-bootstrap-material-design\generators\app\index.js:66:22) at C:\Users\SAAD\AppData\Local\Yarn\Data\global\node_modules\yeoman-generator\lib\base.js:430:16 at runCallback (timers.js:810:20) at tryOnImmediate (timers.js:768:5) at processImmediate [as _immediateCallback] (timers.js:745:5)

pascalgrimaud commented 6 years ago

Simply because this module is deprecated and only works with AngularJS.

saad14092 commented 6 years ago

Thank you for the fast reply, is there no alternative to use material design with angular 5 ?

volthier commented 6 years ago

In new version of Jhipster 5.0.1 this error its happens...

Make sure you are in the directory you want to scaffold into. This generator can also be run with: yo jhipster-bootstrap-material-design

 _-----_
|       |    .--------------------------.
|--(o)--|    |  Welcome to the JHipster |

---------´ | Bootstrap Material | ( _´U_ ) | design generator! v3.5.1 | /A\ '--------------------------' | ~ |
__'._.'
´ |° ´ Y

? Do you want to install Bootstrap Material design? Yes Error

You don't seem to have a generator with the name “jhipster:modules” installed. But help is on the way:

You can see available generators via npm search yeoman-generator or via http://yeoman.io/generators/. Install them with npm install generator-jhipster:modules.

To see all your installed generators run yo without any arguments. Adding the --help option will also show subgenerators.

If yo cannot find the generator, run yo doctor to troubleshoot your system.

leantorres73 commented 6 years ago

I'm having the same issue with Java+React project.

smlshn commented 6 years ago

Facing with the same issue. Cannot install bootstrap-material-design with jhipster v5.2.1.

pascalgrimaud commented 6 years ago

@leantorres73 @smlshn :

Simply because this module is deprecated and only works with AngularJS.

asheikabrar commented 6 years ago

I am also having the same issue

sinrt commented 5 years ago

I am also having the same issue in jhipster 5.28.0

cchunduri commented 5 years ago

I'm using Jhipster 6.3.0, I'm also getting the same issue.

maherbel commented 4 years ago

Any news on this issue ? having the same problem with Jhipster 6.6.0 (Java/React)

moifort commented 4 years ago

Hey @maherbel this generator is deprecated. I close the issue!