【问题标题】:Foundation for Emails won't compile for production - SCSS folder not being createdFoundation for Emails 不会为生产编译 - 未创建 SCSS 文件夹
【发布时间】:2017-12-19 23:58:33
【问题描述】:

这是我与 Foundation for Emails 合作的第一个项目。当我运行foundation build 时,我得到:

[17:42:43] Starting 'inline'...
Unhandled rejection Error: ENOENT: no such file or directory, open 'D:\Repositories\email-template\dist\assets\scss'
    at Error (native)

[17:42:44] The following tasks did not complete: default, build, inline
[17:42:44] Did you forget to signal async completion?

看起来它失败了,因为没有生成 SCSS 文件夹。

当我运行 foundation watch 时一切正常。

如何进一步解决此问题并了解未创建 SCSS 文件夹的原因?

这是在 Windows 机器上,通过 Powershell。我已经尝试注释掉我所有的自定义 SCSS 代码,只在 app.scss 的顶部留下三个 @import 语句。我也试过删除我的 node_modules 文件夹并重新安装。

【问题讨论】:

    标签: zurb-foundation zurb-ink


    【解决方案1】:

    修复它。问题是我的 HTML 顶部有这一行:

    <link rel="stylesheet" href="assets/scss">
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-02-11
      • 1970-01-01
      • 2018-02-06
      • 1970-01-01
      • 1970-01-01
      • 2018-06-21
      相关资源
      最近更新 更多