-
-
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
aws-container not generate the docker containers on windows 10. #14262
Comments
@CGarces : Unfortunately, testing on windows is hard; I personally don't have a windows machine anymore to test and I've only tested this on Linux based machines. So although this is potentially a bug, I would say the chances are we won't be able to fix this. On the other hand you can try using the WSL (Windows subsystem for Linux). π |
@CGarces : Also, please feel free to reopen the issue and submit a PR if you could. |
I also think that WSL2 is a better way to go, but I need to fix one weird nvmw & npm issue. |
Are you running this in Powershell or Command Prompt? Sometimes it makes a difference |
@CGarces about the stackoverflow problem, you seems to have a broken node directory. |
I had a quick look into your post and it seems you are trying to mix Linux with Windows. Instead, I suggest to generate a new project on WSL2 and launch. I am using WSL2 for quite some time now without any issues. If you are concerned with IDE support, then, VSCode has much better support for remote development with WSL and IntelliJ support is in early EAP |
From cmd. |
Thanks problem fixed after |
Hi. β The Docker image build failed. Error: Command failed: ../demo/./mvnw -ntp -Pprod verify jib:dockerBuild |
Fixed with a really ugly workaround https://github.com/jhipster/generator-jhipster/blob/master/generators/docker-utils.js#L114
|
Overview of the issue
I'm trying to deploy a monolith JHipster demo on AWS using AWS-containers
I'm using JHipster 6.10.5 on windows 10,
The output is partially on spanish, the translation is:
'..' is not recognized as an internal or external command
Looks like a environment issue caused by windows 10.
The process Is trying to execute ../demo/./mvnw -ntp -Pprod verify jib:dockerBuild that not is a valid command on windows system.
Any idea about how fix it?
Related issues
#8366 (comment)
Also looks like a windows machine, but maybe not is related with the original issue reported.
JHipster Version(s)
JHipster Version(s)
Environment and Tools
java version "11.0.10" 2021-01-19 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.10+8-LTS-162)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.10+8-LTS-162, mixed mode)
git version 2.30.1.windows.1
node: v14.16.0
npm: 6.14.11
yeoman: 3.1.1
Docker version 20.10.5, build 55c4c88
docker-compose version 1.28.5, build c4eb3a1f
Browsers and Operating System
Windows 10
The text was updated successfully, but these errors were encountered: