Closed dev-prakhar closed 1 month ago
Exact same logs for me here, one difference being: Upgrade CLI from version 3.66 to 3.67
+1 same issue and similar trace
👋🏻 Thanks for reporting this! There is a fix in review right now. In the meantime, I have some suggestions for workarounds that you may try.
This issue stems for a specific local storage instance returning undefined
when initialized from the app dev
command, so you can either:
1) Initialize the session via theme command - Recommended
Execute shopify theme list --store=<YOUR_STORE>
This will initialize your local session storage instance and circumvent the issue. Note that if you switch shops, you will want to do this again.
2) Pass the --legacy
flag to the command
Please confirm that you have:
In which of these areas are you experiencing a problem?
Extension
Expected behavior
Running the following command should set up the development environment
Actual behavior
The following error was raised after running the command
Verbose output
Reproduction steps
3.59
to3.67
Operating System
Mac OS Sonoma 14.5
Shopify CLI version (check your project's
package.json
if you're not sure)3.67.0
Shell
zsh
Node version (run
node -v
if you're not sure)v22.1.0
What language and version are you using in your application?
Node 22.1.0