尝试使用Shopify的Slate运行,它安装了一个新的主题,没有错误,但是我们导航到主题,并尝试运行slate start或slate zip,我得到了这个错误:
.../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)在那之后还有更多的错误代码,但看起来错误是在主题链接试图创建新的报告器时出现的?还有别的人碰到这个吗?
发布于 2017-09-18 00:46:48
更新Node和npm应该可以解决这个问题。
Slate需要节点6.x Slate Getting started
https://stackoverflow.com/questions/44349908
复制相似问题