System Information
- Strapi Version: V3.3.4
- Operating System:
- Database: Postgres
- Node Version: 17.9.0
- NPM Version: 6.14.4
- Yarn Version:
Hi,
I’m trying to upgrade Strapi from V3 to V4.
I’m trying to use the codemods to migrate (Step 3 from the v3-to-v4-walkthrough)
However i’m getting the following error
? What do you want to migrate? Application
? Enter the path to your Strapi application ./strapi
error: Command failed with exit code 128: git --git-dir=./strapi/.git --work-tree=./strapi status --porcelain
fatal: not a git repository: './strapi/.git'
My existing Strapi instance is part of a github monorepo, so it is not on the project root.
Is there a way for me to point to the --git-dir
and --work-tree
?
Thanks