I'm building out a custom CMS integration with my Shopify store and it's called Payload. I've installed the Shopify CLI and am getting 212 Errors due to the Webpack 5 breaking change that removes the polyfills.
ERROR in ./node_modules/tar/lib/unpack.js 11:11-24 Module not found: Error: Can't resolve 'fs' in
There currently is NOwebpack.config.jsfile in the project at all which makes me think it's using the default. I am using Typescript as well and do have atsconfig.json.
I have tried adding awebpack.config.jsthat just returns the resolve section outlined in this similarquestionbut that isn't working.
I'm at a loss at this point and I'm completely blocked. Here is my project structure:
Depending on which version of the CLI it is or if you feel the issue is with the shopify_api Ruby gem itself the following public GitHub repository issue boards are the best place for submitting a detailed report after confirming the most recent version is being used: