Skip to content
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

Slate 0.14.0 Not pushing files on Apple M1 #103

Open
bluedge opened this issue Jan 26, 2022 · 3 comments
Open

Slate 0.14.0 Not pushing files on Apple M1 #103

bluedge opened this issue Jan 26, 2022 · 3 comments
Labels

Comments

@bluedge
Copy link

bluedge commented Jan 26, 2022

Problem

On Apple M1 - Slate "@shopify/slate-tools": "0.14.0" is running but the files are not being push to Shopify servers.

The other M1 issue mentions a node_modules folder structure including a folder slate-sync that does not exist in our legacy projects with slate 0.14.0.

Replication steps

package.json

{
  "name": "xyz",
  "description": "xyz",
  "version": "1.0.0",
  "license": "UNLICENSED",
  "private": "true",
  "repository": {
    "type": "git",
    "url": "xyz"
  },
  "devDependencies": {
    "@shopify/slate-tools": "0.14.0",
    "natives": "1.1.6"
  },
  "dependencies": {
    "grunt": "1.3.0",
    "node-gyp": "7.1.0"
  }
}

More Information

Rosetta 2 is active in the Terminal.

@bluedge bluedge changed the title Slate 0.14.0 Not pushing file on Apple M1 Slate 0.14.0 Not pushing files on Apple M1 Jan 26, 2022
@patrickBluedge
Copy link

+1 I'm having the same problem

@erickzhao erickzhao added the bug label Feb 2, 2022
@3daddict
Copy link

+1 same problem

@stephen-odetunde
Copy link

This worked for me but not 100% on if this is correct I took the steps mentioned above on the other ticket and then searched for this in node modules

themekit.command

Then changed two places I could see themekit.command

node_modules/@shopify/slate-tools/lib/tasks/deploy-utils.js

themekit.command(
    "deploy",
    {
        env,
        nodelete: false
    },  
    {
        cwd: config.dist.root
    }
);

and in
node_modules/@shopify/slate-tools/lib/tasks/watchers.js

themekit.command(
    "deploy",
    {
        env,
        files
    },
    { 
        cwd: config.dist.root
    }
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants