I ran yarn upgrade, which clearly was a mistake, but in any case now I can’t seem to find any way back to get my project running again. Now, when I run yarn build I get the error:
webpack: command not found.
I’ve made sure my version of package.json matched what it was previously when I had no issues.
This is what my package.json looks like at my theme root for webpack packages in my devDependencies:
Has anyone had this issue? What else do I need to check and possibly troubleshoot that yarn upgrade could’ve caused? Do I need to reinstall webpack or related packages? Since I believe these are added back at the time of installing the theme as dependencies, I’m not sure what else exactly to go off here other than what I had previously in my package.json before things went off track.