-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Build Che Using Docker - npm error #2247
Comments
Log files: |
@benoitf - assigned to you. |
@motorina0 This is a VBox issue. When dashboard is built, a symlink is created. Since project sources are mounted in your Windows OS, it is not allowed to create symlinks there. npm/npm#9901 similar issue |
@motorina0 could you add after line
|
updated like this:
Got new error:
|
could you run again ? it seems first run fails while second run succeed with npm --no-bin-links ... |
Second run gave me:
See also attached files docker-che-build2.txt and npm-debug2.log.txt |
@motorina0 do you absolutely need to build dashboard? Is building just an assembly a way to go for you? I cannot reproduce it on Ubuntu and CentOS. |
I did wanted to build the dashboard since I wanted to do some customization. Issue can be closed from my side. |
It would be useful to specify on the wiki that on Windows with Docker Toolbox there are still some issues.
|
@motorina0 ok thanks for the report I've updated the wiki with a note for errors on Windows for Dashboard module |
Trying to "Build Che Using Docker" as described here:
https://github.com/eclipse/che/wiki/Development-Workflow#build-che-using-docker
Reproduction Steps:
Expected behavior:
Build runs with success. On my host's Maven repo I have all the Che artifacts
Observed behavior:
Build Fails with:
An Ant BuildException has occured: exec returned: 185 around Ant part ...... @ 4:82 in /home/user/che-build/dashboard/target/antrun/build-main.xml
Attached two files with the logs from "docker run" and "npm" (docker-che-build.txt and npm-debug.log )
Che version: Source Code (branch created from tag 4.6.1)
OS and version: Windows 7 Profesional
Docker version:
Client:
Version: 1.12.0
API version: 1.24
Go version: go1.6.3
Git commit: 8eab29e
Built: Thu Jul 28 23:54:00 2016
OS/Arch: linux/amd64
Server:
Version: 1.12.0
API version: 1.24
Go version: go1.6.3
Git commit: 8eab29e
Built: Thu Jul 28 23:54:00 2016
OS/Arch: linux/amd64
Che install: Docker
Additional information:
Increased VM memory from 1 GB to 3GB, but build still fails.
The text was updated successfully, but these errors were encountered: