Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Unable to compile inside docker container with golang:1.13-alpine3.11 image #89

Closed
mr-yaky opened this issue Feb 25, 2020 · 1 comment
Closed

Comments

@mr-yaky
Copy link

mr-yaky commented Feb 25, 2020

Hi,
I'm trying to compile frontend with make frontend but always get following error somehow:

Running "clean:dist" (clean) task
>> 1 path cleaned.

Running "copy:src_to_dist" (copy) task
Created 14 directories, copied 73 files

Running "copy:metadata" (copy) task
Copied 2 files

Running "packageModules:dist" (packageModules) task
grafana-kairosdb-datasource@3.0.0 /go/src/github.com/grafana/kairosdb-datasource/dist
`-- grafana-sdk-mocks@1.0.0  (git://github.com/grafana/grafana-sdk-mocks.git#8022ff1856048f8716d00b15b4423795b81f8369)

[                 .] - runTopLevelLifecycles: sill install printInstalled
Running "tslint:files" (tslint) task
>> 54 files lint free. runTopLevelLifecycles: sill install printInstalled

Running "tslint:test" (tslint) task
>> 18 files lint free. runTopLevelLifecycles: sill install printInstalled

Running "typescript:build" (typescript) task
180 files created. js: 60 files, map: 60 files, declaration: 60 files (2272ms)
[                 .] - runTopLevelLifecycles: sill install printInstalled
Running "babel:distTestsSpecsNoSystemJs" (babel) task

Running "karma:unit" (karma) task
25 02 2020 18:11:10.758:INFO [karma]: Karma v1.7.1 server started at http://0.0.0.0:9876/
25 02 2020 18:11:10.763:INFO [launcher]: Launching browser PhantomJS with unlimited concurrency
25 02 2020 18:11:10.777:INFO [launcher]: Starting browser PhantomJStalled
25 02 2020 18:12:10.780:WARN [launcher]: PhantomJS have not captured in 60000 ms, killing.
25 02 2020 18:12:12.785:WARN [launcher]: PhantomJS was not killed in 2000 ms, sending SIGKILL.
25 02 2020 18:12:14.787:WARN [launcher]: PhantomJS was not killed by SIGKILL in 2000 ms, continuing.
Warning: Task "karma:unit" failed. Use --force to continue.

Aborted due to warnings.
make: *** [Makefile:5: frontend] Error 3
# cat /etc/hosts
127.0.0.1	localhost
10.233.83.244	build-container

Can anyone help with this to compile, please ? I have read some issues and tried to do some recommendation from karma upstream project but without success. Really strange bug.

Env info:

/go/src/github.com/grafana/kairosdb-datasource # go version
go version go1.13.8 linux/amd64
/go/src/github.com/grafana/kairosdb-datasource # node --version
v12.15.0
/go/src/github.com/grafana/kairosdb-datasource # grunt --version
grunt-cli v1.3.2
grunt v1.0.4
@mr-yaky
Copy link
Author

mr-yaky commented Feb 25, 2020

hmmm... seems that I mixed up the project. I have opened another ticket on latest supported fork:
kairosdb#4

@mr-yaky mr-yaky closed this as completed Feb 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant