-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
jhipster docker setup error - New state of 'nil' is invalid #5950
Comments
I'm guessing this is because you typed I think you wanted to run |
Hi, I used both jhipster --npm and jhipster as mentioned on the installation page and got the above error. |
I didn't manage to reproduce. It works fine for me (inside the 🐳 container):
@dharmjit : as you use Windows 7 and probably Docker Toolbox, I'm pretty sure there is an issue related to the use of Docker with Windows, probably on how you mount the volume
|
Closing as this is probably a user misconfiguration, and we don't have enough information to reproduce |
Bonsoir Julien J'ai exactement le meme soucis Puis Philippe |
Please follow the guidelines and use the English language, so that everybody can understand. |
plz @pcouas in english See https://jhipster.github.io/installation/
Can you try to put the correct volumes, under your Users folder ? |
And yes I got your email @pcouas but that's against our #1 rule of help. |
Hi,
I have shared with succes an other directory from virtualbox Regards |
Hi |
Hello I am facing the same issue. I was starting today to "play" with jhipster and to start running the generator on a docker image was a welcomed solution (I did not have to install all those stuff directly to my pc). So I used the instructions from here: http://www.jhipster.tech/installation/
I run the docker container with the command below from windows powershell: docker container run --name jhipster -v c:/Users/user/jhipster:/home/jhipster/app -v c:/Users/user/.m2 When running the container with jhipster latest or v4.11.0 when I try to run the jhipster app command in containers app folder I got the error: New state of 'nil' is invalid. when I use the v3.12.2 tag strangely I get that there is no command jhipster. Everyone has any ideas?? Thanks |
@geosava : it's related to your OS and the terminal you use. You can look at this ticket, there are some answers which will help you Sorry, I can't help more as I don't have Windows Machine |
OK I will check it. |
Overview of the issue
I am following the jshipster installtion guide at https://jhipster.github.io/installation/ and wants to install it on Docker. When going through first project setup, I am getting below error.
Running default command
Executing jhipster:app --npm
New state of 'nil' is invalid.
Motivation for or Use Case
NA
Reproduce the error
NA
Related issues
NA
Suggest a Fix
NA
JHipster Version(s)
JHipster configuration
cat: no such file or directory: .yo-rc.json
JHipster configuration, a
.yo-rc.json
file generated in the root folderEntity configuration(s)
entityName.json
files generated in the.jhipster
directoryls: no such file or directory: .jhipster/*.json
Browsers and Operating System
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
git version 2.7.4
node: v6.11.0
npm: 5.0.3
bower: 1.8.0
gulp:
[10:48:58] CLI version 1.3.0
yeoman: 2.0.0
yarn: 0.24.5-
Browsers and Operating System
Windows 7 and Docker version 17.04.0-ce
The text was updated successfully, but these errors were encountered: