Shopify / themekit

Shopify theme development command line tool.
https://shopify.dev/tools/theme-kit
MIT License
1.19k stars 374 forks source link

slate deploy works but theme deploy gives a weird error #923

Open joshbedo opened 3 years ago

joshbedo commented 3 years ago

Describe the bug I'm trying to switch over to using theme deploy instead of slate deploy to get the additional checksum speed benefits but for some reason I get this weird error telling me 3 files don't exist that do exist.

Expected behavior Should build fine like it does with slate deploy

Environment (please complete the following information):

Additional context

Screen Shot 2021-03-24 at 4 16 46 PM

Screen Shot 2021-03-24 at 4 18 00 PM

drewisme commented 3 years ago

@joshbedo slate deploy builds from the src dir to dist and deploys. When running theme deploy it will upload from the current dir unless you specify. You probably still want to build your slate styles and scripts before deploying which you can do with slate build.

slate build
theme deploy -e dev -d dist