Laura
Laura

Reputation: 385

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?

Upvotes: 3

Views: 357

Answers (1)

Adeerlike
Adeerlike

Reputation: 467

Updating Node [and npm] should fix this problem.

Slate requires Node 6.x Slate Getting started

Upvotes: 2

Related Questions