Closed vantrangaof closed 11 months ago
Hi @vantrangaof, it looks like the file where Shopify CLI stores your settings has become corrupted. I recommend deleting the file and starting again.
The file should be located at ~/.cache/shopify/.db.pstore
Your next run of the CLI will be a bit slower, but it should work afterwards!
Hi @amcaplan, it works perfectly now. Thank you so much for your solution. 😊
Please confirm that you have:
In which of these areas are you experiencing a problem?
App, Extension
Expected behavior
After running
npm run dev
, the extension should be able to be previewed along with the rest of the project.Actual behavior
When the app is first created, the preview works fine. However, after installing the theme app extensions, the preview crashed. I can still deploy the app, just couldn't preview it.
Verbose output
Reproduction steps
npm init @shopify/app@latest
npm run dev
: at this stage, the preview works perfectlynpm shopify app generate extension
: it crashed and couldn't preview *There is no issue with the app and extension deploymentOperating System
MacOS Ventura 13.5.2
Shopify CLI version (check your project's
package.json
if you're not sure)3.51.1
Shell
zsh
Node version (run
node -v
if you're not sure)v18.16.1
What language and version are you using in your application?
Ruby 3.1.0