Vue-styleguidist: Unknown config option ignore was found

Created on 6 Sep 2018  路  7Comments  路  Source: vue-styleguidist/vue-styleguidist

By following the documentation on the example of how to ignore a component it requests you to add the following into styleguide.config.js

ignore: ['**/*.spec.vue', '**/components/Button.vue']

However when doing so the following error comes back:

true 'StyleguidistError'
Unknown config option ignore was found, the value is:
[
  '**/*.spec.vue',
  '**/components/Button.vue'
]
undefined
error Command failed with exit code 1.

This leads me to believe there is a bug with ignore at the moment or the documentation is out of date for this option?

bug

Most helpful comment

@steriley @viljamis Yes, it was removed by mistake.
I will release another version

All 7 comments

Getting this same error after updating to the latest version on Vue Design System.

Unknown config option ignore was found, the value is:
[
  '**/App.vue',
  '**/__tests__/**',
  '**/*.test.js',
  '**/*.test.jsx',
  '**/*.spec.js',
  '**/*.spec.jsx',
  '**/ExampleComponent.vue'
]

Investigated a bit further and I鈥檓 not sure anymore if this is related to changes in Vue Styleguidist. Earlier today everything was working fine when doing an NPM install, but now, even if installing a year old version, I get this error on all repositories. Weird.

@steriley update: looks like it鈥檚 one of the dependencies of this project. Investigating which one.

@rafaesc eventually it looks like this issue is related to the latest version (1.8.4) + vue & vue-template-compiler. If using vue-styleguidist v1.8.3 and forcing NPM to use the previous vue (2.5.16) and vue-template-compiler (2.5.17) everything works just fine. But if updating either one things break completely.

screenshot 2018-09-06 16 28 03

@steriley @viljamis Yes, it was removed by mistake.
I will release another version

Fixed on version 1.8.5

@rafaesc Awesome! Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dhruvkb picture dhruvkb  路  3Comments

AlexQwerty picture AlexQwerty  路  5Comments

bwcgn picture bwcgn  路  6Comments

andreydos picture andreydos  路  6Comments

lancetharper picture lancetharper  路  5Comments