Closed spotlesscoder closed 5 years ago
The npm audit
results show after npm install
completes, so I think the real issue is the git command getting stuck somehow
sounds plausible ... I tried the same steps on a fresh Ubuntu 18.04 installation and the command finishes successfully there
Yes if npm is stuck, it's probably because of network issues or some interactive commands that are not displayed (ie: asking git credentials) so it looks just "stuck".
I wasn't able to reproduce using an ElementaryOS docker image (both elementary/docker:juno-unstable
and elementary/docker:loki
). Does it happen every time you try to generate a project? Also, try using a new directory - it looks like you already tried to generate a project in that directory (you are overwriting files)
Also couldn reproduce it. Somehow it works now on my system (removed all the files that were created by jh in my home dir and used a new dir)
Facing the same issue
@khushboo894 Unfortunately, there's nothing we can do about it, it could depend on so many environmental factors: your OS, network, firewall, anti virus, etc...
What you could try as a workaround (assuming this is really due to audit)
jhipster --skip-install
npm install --no-audit
Let us know if it helped
happening to me on a fresh install of jhipster and npm on my windows machine
circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
[ ] - reify:generator-jhipster: timing reifyNode:node_modules/aws-sdk Completed in 249957ms
its stuck here
@dranzerashi please don't comment on an old closed issue about an obsolete version, if you have a similar issue with current version please open a new issue with all required details.
Overview of the issue
JHipster execution is stuck on creating new project
I just ran "jhipster" and was asked all the option which I answered according to my requirements. Then the project generation started,
Motivation for or Use Case
I want to start a new project.
Reproduce the error
Choose the options according to those from my log
Then the command prompt doesn't return . However, htop shows that "git add -A" is using a whole CPU core @ 100%. When I press CTRL+C on the Jhipster command, that process gets terminated.
JHipster Version(s)
5.7.0
JHipster configuration
jhipstertest@0.0.0 /home/user/jhipstertest ├── generator-jhipster@5.7.0 ├─┬ generator-jhipster-aeropost@1.6.0 │ └── generator-jhipster@5.7.0 deduped ├─┬ generator-jhipster-docker@2.5.0 │ └── generator-jhipster@5.7.0 deduped ├─┬ generator-jhipster-feign-client@1.0.6 │ └── generator-jhipster@5.7.0 deduped ├─┬ generator-jhipster-nav-element@2.0.12 │ └── generator-jhipster@5.6.1 ├─┬ generator-jhipster-swagger-cli@3.0.1 │ └── generator-jhipster@5.7.0 deduped └─┬ generator-jhipster-uaa-security-authority@1.0.1 └── generator-jhipster@5.7.0 deduped
yo-rc.json
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryI don't have this directory on my machine
Browsers and Operating System
Browser: not relevant OS: ElementaryOS 5.0 Juno npm --version -> 6.4.1 node --version -> v10.13.0