as an architect I’m a starter with Python and coding in general!
I’m not sure if this error is caused by a silly mistake , but couldn’t solve it !
I’m using Rhino 8 and following the tutorial of Grasshopper application setup, and faced this problem at almost the end of the process!
viktor-cli installed successfully , but when I type: viktor-cli start
it gives this error
ERROR : viktor.config entry ‘app_type’ must be set for SDK v14 or higher.
Hey, I just ran into this one the other day as well. In order to fix this all you have to do is create a viktor.config.toml file and in that file include at least the baseplate of this code changing the app type and python version for whatever you are using
# For all available configuration settings, please go to:
# https://docs.viktor.ai/docs/create-apps/references/viktor-config-toml
app_type = 'editor'
# assets_path = 'assets'
# packages = []
python_version = '3.12' # '3.9' | '3.10' | '3.11' | '3.12'
# welcome_text = 'welcome.md'
# registered_name = 'app-name'