-
I did notice this line in the 2024.4.2 upgrade which is one of the fixes I'm after..but I can't figure out why/how I'm losing awareness of the hydrogen project |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The Did you change the Also, make sure your Also, we are making changes so that dependencies around the CLI are simpler and don't create this kind of issue. More soon 🤞 |
Beta Was this translation helpful? Give feedback.
The
h2 upgrade
command should update your dependency to@shopify/cli@3.59.2
for the2024.4.2
release (source).Did you change the
^3.58.0 → ^3.60.1
versions manually? If so, please choose3.59.2
for now.Also, make sure your
@shopify/cli-hydrogen
dependency is listed independencies
and not indevDependencies
. There has been an inadvertent change in the main@shopify/cli
and it is now a requirement to have it there -- I think this should be fixed if you use theh2 upgrade
command as well instead of updating manually.Also, we are making changes so that dependencies around the CLI are simpler and don't create this kind of issue. More soon 🤞