1
    [4mRunning "sass:foundation_scss" (sass) task�[24m
    �[31mFatal error: The implementation option must be passed to the Sass 
    task.��[39m

    [Container] 2018/06/27 07:22:17 Command did not exit successfully 
     spectacle swagger.yaml exit status 1

我正在尝试使用 spectacle 生成 API 文档,但由于上述错误而失败。我也试过

    npm i npm@latest -g

但即使在那之后,问题也是一样的。几天前它工作正常,我现在不知从哪里得到这个错误。

实施是在 AWS CodePipeline 的构建阶段完成的,并且构建在容器中运行。

4

1 回答 1

0

回答我自己的问题。发生该错误是因为最近更新了 spectacle 的依赖项之一,并且当前版本的 spectacle 无法处理该新依赖项。这个问题现在保持关闭。

更多信息,请访问https://github.com/sourcey/spectacle/issues/156

于 2018-07-05T11:25:01.147 回答