Starting server reports error building engine
I'm submitting a ... (check one with "x")
[X] bug report => search github for a similar issue or PR before submitting
[] enhancement request
[] feature request
[] support request
[] general question
Current behavior (how does the issue manifest):
(⎈ |aks-tibcoazuredevops:kube-tib-devops-cit) mmussett@Marks-MacBook-Pro-8 ~/src/github/flogo-web master yarn start server yarn run v1.21.1 $ ng serve server Using ts-node version 8.3.0, typescript version 3.5.3
info: [11:03:09.119] Starting indexer DB at /Users/mmussett/src/github/flogo-web/dist/local/db/indexer.db
info: [11:03:10.555] Registered resource plugin 'flow' (github.com/project-flogo/flow)
debug: [11:03:10.556] HookApplicator: Registering before hooks debug: [11:03:10.556] HookApplicator: No hook for remove
debug: [11:03:10.556] HookApplicator: No hook for list info: [11:03:10.556] Registered resource plugin 'stream' (github.com/project-flogo/stream) debug: [11:03:10.556] HookApplicator: Registering before hooks
debug: [11:03:10.557] HookApplicator: No hook for remove debug: [11:03:10.557] HookApplicator: No hook for list
warn: [11:03:11.001] Engine does not exist. Creating...
info: [11:03:11.001] Exec command: flogo create --cv master -f /Users/mmussett/src/github/flogo-web/apps/server/src/config/default-flogo.json flogo-web in /Users/mmussett/src/github/flogo-web/dist/local/engines
info: [11:03:11.010] run command: flogo create --cv master -f /Users/mmussett/src/github/flogo-web/apps/server/src/config/default-flogo.json flogo-web
warn: [11:03:11.181] command exited with code 2: flogo create --cv master -f /Users/mmussett/src/github/flogo-web/apps/server/src/config/default-flogo.json flogo-web
error: [11:03:11.181] Found error while initializing engine: error: [11:03:11.181] flag provided but not defined: -cv Usage:
flogo <command> [arguments]
Commands:
build build the flogo application
create create a flogo project
ensure Ensure gets a project into a complete, reproducible, and likely compilable state
help Get help for a command
install install a flogo contribution
list list installed contributions
prepare prepare the flogo application
search Search the Flogo Artifact Repository for activities and triggers
uninstall uninstall a flogo contribution
version displays the version of flogo cli
error: [11:03:11.181] undefined
flag provided but not defined: -cv Usage:
flogo <command> [arguments]
Commands:
build build the flogo application
create create a flogo project
ensure Ensure gets a project into a complete, reproducible, and likely compilable state
help Get help for a command
install install a flogo contribution
list list installed contributions
prepare prepare the flogo application
search Search the Flogo Artifact Repository for activities and triggers
uninstall uninstall a flogo contribution
version displays the version of flogo cli
Expected behavior:
Minimal steps to reproduce the problem (not required if feature enhancement):
What is the motivation / use case for changing the behavior?
Please tell us about your environment (Operating system, docker version, browser & verison if webui, etc):
Flogo version (CLI & contrib/lib. If unknown, leave empty or state unknown): 0.X.X
Additional information you deem important (e.g. issue happens only occasionally):
It seems you are running on an old cli. Can you update your flogo-cli:
yarn update-global-flogo