Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shopify Slate won't build, zip or start?

Trying to get running with Shopify's Slate, it installs a new theme without errors but then we I navigate into the theme and try to run slate start or slate zip, I get this error:

.../node_modules/@shopify/theme-lint/index.js:12
module.exports.runAll = function(path, reporter = new Reporter()) {
                                                ^

SyntaxError: Unexpected token =
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:387:25)
    at Object.Module._extensions..js (module.js:422:10)

There is some more error code after that, but it looks like the error is when theme-link is trying to create a new reporter? Anyone else run into this?

like image 714
Laura Avatar asked Dec 07 '25 08:12

Laura


1 Answers

Updating Node [and npm] should fix this problem.

Slate requires Node 6.x Slate Getting started

like image 110
Adeerlike Avatar answered Dec 12 '25 01:12

Adeerlike



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!