Error publishing app

Hi,

I updated Viktor last Friday and I am trying to publish a new version of an app, but I keep getting this error: !

Thank you for your message, I will take a look into it. Looking at your image you are using Windows with Hyper-V, is that correct? Is the app folder actually a git repository (does it have a .git folder), as the .gitignore file suggests, or not, as the cli suggests?

Thanks for you fast reply! Yes, I am using Windows and my app folder doesn’t have a .git folder.

It seems that there is a bug in the publish command that occurs if the app-folder is not a Git repository. We will deploy a fix for it. Until then the easiest solution is to actually make it a git repository, by installing Git on your computer and typing the following commands in your cmd in the app-folder:

git init
git config user.email "youremail.example.com"
git add -A && git commit -m "Commit all files for the first time"

Publishing should work after that. Let me know if you have any trouble.

1 Like

Thank you! Is it possible to get a reply back when this problem is fixed?

This bug has been fixed in v0.11.1 of the cli, which is currently available.

1 Like