Open 26mrkt opened 5 years ago
I'm having the same problem. I used your steps, which did more than I'd been able to get going before, but my "slate migrate" hangs just like your screenshot. So frustrating. I'm trying to get my Windows 10 machine identical to my Mac OS machine so that I can develop wherever I am.
drtyrell969,
After you installed the dev dependencies, did you change directory to your theme folder and try running npm install within that folder? I realized that I didn't mention that in my original post. And that gave me some progress.
Thank you for responding. This was the "ground up" approach.
Then it hung just like your picture.
Okay, development:
Running in PowerShell doesn't work.
Running in GitBash WORKS!
Problem
I downloaded my theme and then ran slate migrate to migrate the theme. However, when it started to migrate, it stopped and didn't finish.
Replication steps
More Information
I'm posting this because I couldn't find an answer or solution anywhere online.
To solve:
I terminated by hitting "CTRL" + "C" and saying yes.
Then I had to open the package.json file and add devDependencies, (see the following)...
Original file: { "name": "theme", "version": "0.0.1" }
New file (what I added): { "name": "theme", "version": "0.0.1", "devDependencies": { "@shopify/slate-tools": "0.14.0" } }
In command line, I made sure I was back in the correct folder which would be the unzipped theme folder). Then I ran the npm install command.
I ran slate build
I had to manually add a config.yml file.
Then slate deploy.
Then slate start.
Comment
I'm not savvy when it comes to this stuff but this is how I got it all to work (finally). Initially I tried removing Node.js // npm off the computer, and reinstalling, but nothing changed.
Hope this helps. Can anyone explain to me what happened though? I guess I am missing the devDependencies but I don't know how any of this works, so what would I have to do to make sure that when slate migrate runs, it adds this part? Any help with that would be greatly appreciated.