Open mzedeler opened 7 years ago
Hmm. You shouldn't have to, but what happens if you do add storybook-chapters to your project?
Well - I tried and it didn't help.
Here is what happens when I just install storybook-filepath-chapters:
$ npm install
my-project@1.0.0 /home/mike/my-project
└─┬ storybook-filepath-chapters@1.4.0
├─┬ @kadira/storybook@2.35.3
│ ├── postcss-loader@1.1.0
│ └── uuid@2.0.3
└─┬ storybook-chapters@0.1.1
└── storybook-adk@0.7.6
I'm running node v6.10.3.
I tried to debug the issue by switching on logging and outputting the book
object.
It has the following properties:
add
addDecorator
kind
Where add
and kind
are methods and kind
is a title of some kind.
It seems that storybook-chapters
isn't being loaded as it should.
I'm getting this error:
This is my storybook config:
Any hints what causes this? It seems that the underlying
storybook-chapters
module hasn't been loaded correctly, but I assume this isn't something I need to handle?