【问题标题】:Try to install Shopify Slate(Windows) but it doen`t work尝试安装 Shopify Slate(Windows) 但它不起作用
【发布时间】:2020-01-04 13:06:52
【问题描述】:

尝试在 Windows 上安装 Shopify Slate,但它不起作用。伙计们,我需要你们的帮助!

npm 版本:

6.9.0

纱线版本​​:

1.17.3

gulp 版本:

CLI 版本:2.2.0 本地版本:4.0.2

我确实是这样安装的:

npm install -g @shopify/slate

结果:

npm WARN 已弃用 natives@1.1.6:此模块依赖于 Node.js 的内部结构,并且会在某些时候中断。不要使用它,并更新到 graceful-fs@4.x。 C:\Users\Marshall\AppData\Roaming\npm\slate -> C:\Users\Marshall\AppData\Roaming\npm\node_modules@shopify\slate\lib\index.js + @shopify/slate@0.14.0 在 67.394 秒内删除了 658 个包并更新了 1 个包

可以吗?

我想获得完整的分步说明如何安装 Shopify Slate(在 Windows 上)并解决我的问题!谢谢

【问题讨论】:

    标签: node.js npm shopify yarnpkg slate


    【解决方案1】:

    Slate 尚未正式支持 Windows。

    系统要求:https://shopify.github.io/slate/docs/system-requirements#windows-subsystem-for-linux-wsl

    上面的文档声明它目前仅支持 MacOS,但是有一种解决方法可能会使其在 Windows 中运行。为此,您需要使用 WSL(适用于 Linux 的 Windows 子系统)。

    延伸阅读:https://github.com/Shopify/slate/issues/667

    【讨论】:

      猜你喜欢
      • 2022-12-07
      • 2020-11-07
      • 2015-06-16
      • 2012-08-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-06-21
      相关资源
      最近更新 更多