Erorr While Building App
Current behavior (how does the issue manifest):
Getting following error while trying to build app linux/arm. Flogo is installed on aws-ec2 instance
2019-05-01T16:49:49.226Z - warn: Engine does not exist. Creating... 2019-05-01T16:49:49.227Z - info: Exec command: flogo create -flv github.com/TIBC OSoftware/flogo-contrib/activity/[email protected],github.com/TIBCOSoftware/flogo-lib/a pp/[email protected] -f /tmp/flogo-web/build/server/local/engines/exported-app-bui ld.json -vendor /tmp/flogo-web/build/server/local/engines/flogo-web/src/flogo-we b/vendor app-build in /tmp/flogo-web/build/server/local/engines 2019-05-01T16:49:49.232Z - info: run command: flogo create -flv github.com/TIBCO Software/flogo-contrib/activity/[email protected],github.com/TIBCOSoftware/flogo-lib/ap p/[email protected] -f /tmp/flogo-web/build/server/local/engines/exported-app-buil d.json -vendor /tmp/flogo-web/build/server/local/engines/flogo-web/src/flogo-web /vendor app-build engine:create: 9142.782ms 2019-05-01T16:49:58.370Z - info: New engine created 2019-05-01T16:49:58.370Z - info: EngineInit duration=10105ms 2019-05-01T16:49:58.373Z - info: [log] Build flogo: "flogo build -o,-e" compileO pts: 2019-05-01T16:49:58.377Z - info: run command: flogo build -o -e 2019-05-01T16:50:18.202Z - warn: command exited with code 1: flogo build -o -e 2019-05-01T16:50:18.203Z - error: # app-build/vendor/go.uber.org/zap vendor/go.uber.org/zap/global_prego112.go:26:7: _stdLogDefaultDepth redeclared i n this block previous declaration at vendor/go.uber.org/zap/global.go:34:29 FATAL: command "build" failed: exit status 2
Expected behavior:
App should get build successfully.
Minimal steps to reproduce the problem (not required if feature enhancement):
Build an app
Please tell us about your environment (Operating system, docker version, browser & web ui version, etc):
linux aws-ec2 machine Docker version 18.06.1-ce, build e68fc7a215d7133c34aa18e3b72b4a21fd0c6136
Flogo version (CLI & contrib/lib. If unknown, leave empty or state unknown): 0.X.X
latest
Additional information you deem important (e.g. issue happens only occasionally):
Hi @exceed007, please export and share the application that you're trying to build.
{
"name": "myApp",
"type": "flogo:app",
"version": "0.0.1",
"appModel": "1.0.0",
"triggers": [
{
"id": "timer",
"ref": "github.com/TIBCOSoftware/flogo-contrib/trigger/timer",
"name": "Timer",
"description": "Simple Timer trigger",
"settings": {},
"handlers": [
{
"action": {
"ref": "github.com/TIBCOSoftware/flogo-contrib/action/flow",
"data": {
"flowURI": "res://flow:hello_world"
}
},
"settings": {
"repeating": "true",
"notImmediate": "true",
"startDate": "2018-01-01T12:00:00Z00:00",
"seconds": "1"
}
}
]
}
],
"resources": [
{
"id": "flow:hello_world",
"data": {
"name": "helloWorld",
"tasks": [
{
"id": "log_2",
"name": "Log Message",
"description": "Simple Log Activity",
"activity": {
"ref": "github.com/TIBCOSoftware/flogo-contrib/activity/log",
"input": {
"message": "hello world",
"flowInfo": false,
"addToFlow": false
}
}
},
{
"id": "actreply_3",
"name": "Reply To Trigger",
"description": "Simple Reply Activity",
"activity": {
"ref": "github.com/TIBCOSoftware/flogo-contrib/activity/actreply",
"input": {}
}
}
],
"links": [
{
"from": "log_2",
"to": "actreply_3"
}
]
}
}
]
}
@fcastill - please see above
same here
building via CLI is working ok!!
Same here with a fresh 0.5.8 and just build a simple Hello World. Same on linux/amd64 (Ubuntu) as we as on darwin/amd64 (MAC).
Can you try building on 0.9.0 of the webui? https://hub.docker.com/r/flogo/flogo-docker/ the latest tag has been updated.
Hi all, has the issue been resolved with the latest flogo webui?