-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Not longer compiling with Shopify CLI 3.0 #176
Comments
you can supply a https://shopify.dev/docs/themes/tools/cli/commands#dev-flags |
That works for me, thank you for help! |
This will fix start and deploy commands. Just replace {your_shopify_theme_directory} with your theme directory. As an exmple, "deploy": "run-s webpack:build && shopify theme push --path C:\Users\DLAD\Desktop\dlad-shopify-2.2.1\shopify", also, you can modify the rest of the commands for CLI3.0 in the same manner.
|
Thanks @DasunEdirisinghe - very useful! This should be merged in |
Operating system
Mac OS Monterey
Node.js version
16
Shopify CLI version
3.0
Browsers
Chrome
Version
4 (Current)
Modifications
No response
Details
When updating to Shopify CLI 3.0 the current package scripts to run the Shopify environment do not work from the root directory. It seems as though Shopify requires their scripts to run directly within the
shopify
directory. So the only workaround possible so to run two different scripts: one for Vue, CSS and JS Compiling and one for Shopify CLISomeone also posted this issue within the Shopify CLI github repo: Shopify/cli#1394
Notice
The text was updated successfully, but these errors were encountered: