https://jhipster.github.io/jdl-studio/からエンティティ(Javaクラス)を生成しようとしていますが、jhipster-jdl.jh
ファイルを作成してエンティティを生成し始めます。まず、マニュアルに従って私は私のエンティティを生成するには、このエンティティを生成するためにgenerator-jhipster-umlをインストールできません
yo jhipster:import-jdl my_file.jdl
を使用していますが、この文は、いくつかの.json
ファイルを生成し、それがすべてですが、私は、Javaクラス、DTO、サービスおよびその他のファイルが必要です。私の友人は、この使用することを教えてくれ:
yo jhipster-uml my_file.jdl
をしかし、その後、私はこのエラーを取得:
Error jhipster-uml .\jhipster-jdl.jh
You don’t seem to have a generator with the name “jhipster-uml” installed.
But help is on the way:
You can see available generators via npm search yeoman-generator or via http://yeoman.io/gene
Install them with npm install generator-jhipster-uml.
To see all your installed generators run yo without any arguments.
それでは、私は、この発電機をインストールしようとしたが、私は他のエラーを取得する:
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\M\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\
npm-cli.js" "install" "generator-jhipster-uml"
npm ERR! node v6.9.4
npm ERR! npm v4.1.2
npm ERR! code E404
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/generator-jhipster-uml
npm ERR! 404
npm ERR! 404 'generator-jhipster-uml' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
どうすればよいですか?私はドキュメンテーションで何が記述されているかすべてを行いました。私はJhipsterバージョン3を使用していません。この問題を解決するには、上位バージョンを移行する必要がありますか?