-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
unstableAny issue that relates to the unstable/next branchAny issue that relates to the unstable/next branch
Description
Branch: next
When deleting a project and recreating it with the same name, a caching issue occurs that prevents proper project initialization.
Steps to Reproduce
- Create a project using
sy create(e.g., name it "cache-test") - Delete the project
- Attempt to recreate a project with the same name ("cache-test") in the same location
- See the error:
Project cache has not been created
Expected Behavior
The project should be recreated successfully without caching issues, similar to creating a new project.
Actual Behavior
The command fails with a cache-related error. The issue appears to stem from cached files/folders in .syncify that aren't properly cleared when a project is deleted.
Additional Context
➜ playground sy create
┌─ Syncify ~ 12:25:54
│
│ v1.0.0-unstable.2
│
│ Hello Hacker 👋
│
│ This command prompt can be used to jump start a new project. Choose one of the
│ open source themes or usage examples available. Alternatively, you can import a
│ theme from a store and Syncify will strap it for you.
│
│ Strap Source: ➔ themes
│ Choose Strap: ➔ dusk
│ Project Name: ➔ cache-test
│ Storage Method: ➔ env
│ Shopify Domain: ➔ wolfgrey-playground.myshopify.com
│ API Admin Token: ➔ shpat_55e3f3c1e8***8ef56**5085d1
│ Installation: ➔ pnpm
│ ERROR
│
│ Project cache has not been created
│
└─ Syncify ~ 12:26:22Temporary Workaround
Manually remove any existing .syncify cache folders before recreating the project.
Metadata
Metadata
Assignees
Labels
unstableAny issue that relates to the unstable/next branchAny issue that relates to the unstable/next branch