Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

yarn start実行時のstyleguideフェーズでのエラー #38

Description

@sa9sha9

Comment

内容

[18:23:08] Using gulpfile ~/Desktop/sd-dev-training/gulpset/gulpfile.js
[18:23:08] Starting 'default'...
[18:23:08] Starting 'clean'...
[18:23:08] Finished 'clean' after 7.4 ms
[18:23:08] Starting 'copy'...
[18:23:08] Starting 'stylelint'...
[18:23:08] Starting 'eslint'...
[18:23:08] Starting 'imagemin'...
[18:23:08] Starting 'sass'...
[18:23:08] Starting 'scripts'...
[18:23:08] Starting 'jsx-static'...
[18:23:08] Starting 'styleguide'...
[18:23:10] 'styleguide' errored after 1.86 s
[18:23:10] AssertionError [ERR_ASSERTION]: HappyPack: Option 'verbose' must be of type 'boolean' not 'string'.
    at /Users/shunsuke_sakurai/Desktop/sd-dev-training/gulpset/node_modules/happypack/lib/OptionParser.js:59:7
    at Array.reduce (<anonymous>)
    at parseAndValidateOptions (/Users/shunsuke_sakurai/Desktop/sd-dev-training/gulpset/node_modules/happypack/lib/OptionParser.js:31:30)
    at new HappyPlugin (/Users/shunsuke_sakurai/Desktop/sd-dev-training/gulpset/node_modules/happypack/lib/HappyPlugin.js:27:17)
    at init (/Users/shunsuke_sakurai/Desktop/sd-dev-training/gulpset/node_modules/webpack-chain/src/Plugin.js:14:18)
    at Object.toConfig (/Users/shunsuke_sakurai/Desktop/sd-dev-training/gulpset/node_modules/webpack-chain/src/Plugin.js:60:22)
    at clean.Object.assign.plugins.plugins.values.map.plugin (/Users/shunsuke_sakurai/Desktop/sd-dev-training/gulpset/node_modules/webpack-chain/src/Config.js:131:61)
    at Array.map (<anonymous>)
    at module.exports.toConfig (/Users/shunsuke_sakurai/Desktop/sd-dev-training/gulpset/node_modules/webpack-chain/src/Config.js:131:40)
    at Bundler.config (/Users/shunsuke_sakurai/Desktop/sd-dev-training/gulpset/node_modules/docz-core/dist/index.js:1:104511)
    at <anonymous>
    at process._tickDomainCallback (internal/process/next_tick.js:229:7)
[18:23:10] 'default' errored after 1.87 s
[18:23:10] The following tasks did not complete: copy, stylelint, eslint, imagemin, sass, scripts, jsx-static
[18:23:10] Did you forget to signal async completion?
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

実行環境

node: v8.16.0
yarn: 1.15.2

再現手順

branch v4.0yarn start

対処

gulpfile.jsよりstyleguideフェーズをコメントアウト

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions