【发布时间】: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 文件夹并重新安装。
【问题讨论】: