-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running yo jhipster-elasticsearch-reindexer causes undefined error #34
Comments
I'm seeing it in the CI too. I think it's an incompatibility with the
latest version of Yeoman.
I will look into a fix. For now you can downgrade to Yeoman v1.85. Let me
know if that works.
…On Wed, Oct 11, 2017, 10:13 PM catzsy ***@***.***> wrote:
Installed jhipster-elasticsearch-reindexer successfully:
λ npm install -g generator-jhipster-elasticsearch-reindexer
***@***.*** postinstall
C:\Users\Catz\AppData\Roaming\npm\node_modules\generator-jhipster-elasticsearch-reindexer\node_modules\spawn-sync
node postinstall
***@***.***
added 379 packages in 57.62s
tried running the command yo jhipster-elasticsearch-reindexer to start
reindexing existing data in my database, and got the following error:
λ yo jhipster-elasticsearch-reindexer
C:\Users\Catz\AppData\Roaming\npm\node_modules\generator-jhipster-elasticsearch-reindexer\generators\app\index.js:27
JhipsterGenerator = generator.Base.extend({});
^
TypeError: Cannot read property 'extend' of undefined
at Object.
(C:\Users\Catz\AppData\Roaming\npm\node_modules\generator-jhipster-elasticsearch-reindexer\generators\app\index.js:27:37)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.get [as jhipster-elasticsearch-reindexer:app]
(C:\Users\Catz\AppData\Local\Yarn\config\global\node_modules\yo\node_modules\yeoman-environment\lib\store.js:38:27)
at Store.get
(C:\Users\Catz\AppData\Local\Yarn\config\global\node_modules\yo\node_modules\yeoman-environment\lib\store.js:61:39)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#34>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFCM6cJ6bTMoRNt4zWrlGP2T2rmy_iNBks5srXXegaJpZM4P2X1O>
.
|
Hi!
but seem to be getting the same error. |
decided to upgrade my yo to the latest version again. :-) rerun the commands to create reindex page in my admin tab and now it works. |
maintained backwards compatibility with older versions of Yeoman fix #34
I pushed a fix. Can you upgrade to the latest version of Yeoman and try again? |
Hi Gerald, I was having the same problem. it's working fine now after your fix. Cheers. |
Thanks, I'll do a release tomorrow. |
Hey Gerald, |
Installed jhipster-elasticsearch-reindexer successfully:
λ npm install -g generator-jhipster-elasticsearch-reindexer
tried running the command yo jhipster-elasticsearch-reindexer to start reindexing existing data in my database, and got the following error:
λ yo jhipster-elasticsearch-reindexer
The text was updated successfully, but these errors were encountered: