TIBCOSoftware / flogo

Project Flogo is an open source ecosystem of opinionated event-driven capabilities to simplify building efficient & modern serverless functions, microservices & edge apps.
http://flogo.io
BSD 3-Clause "New" or "Revised" License
2.43k stars 287 forks source link

Failed to create engine: resource loader for 'flow' not registered #558

Closed webfrank closed 2 years ago

webfrank commented 2 years ago

Current behavior (how does the issue manifest):

I created a simple app (also the pre-loaded one) and build from web-ui for darwin-amd64. Once downloaded the app I try to execute it but I receive this error:

Failed to create engine: resource loader for 'flow' not registered

Expected behavior:

Simple flow (a timed log) executed.

Minimal steps to reproduce the problem (not required if feature enhancement):

Create a simple app with this action:

{
  "name": "Timer",
  "type": "flogo:actions",
  "version": "0.0.1",
  "appModel": "1.1.0",
  "description": "",
  "imports": [
    "github.com/project-flogo/contrib/activity/log"
  ],
  "resources": [
    {
      "id": "flow:timer",
      "data": {
        "name": "Timer",
        "tasks": [
          {
            "id": "log_2",
            "name": "Log",
            "description": "Logs a message",
            "activity": {
              "ref": "#log",
              "input": {
                "message": "Timer fired",
                "addDetails": false,
                "usePrint": false
              }
            }
          }
        ]
      }
    }
  ]
}

Please tell us about your environment (Operating system, docker version, browser & web ui version, etc):

MacOS with Docker version 20.10.11, build dea9396

Flogo version (CLI & contrib/lib. If unknown, leave empty or state unknown): 0.X.X

docker run -it -p 3303:3303 flogo/flogo-docker eula-accept Flogo v1.0.0

Additional information you deem important (e.g. issue happens only occasionally):