Unknown option: base.cacheDirectory
See original GitHub issueI was trying the new 3.2.6-alpha.0 release but it has an error when used with storyshots because of https://github.com/storybooks/storybook/blame/master/app/react/src/server/config/babel.js#L6 which was recently added.
We must omit that in https://github.com/storybooks/storybook/blob/master/addons/storyshots/src/index.js#L41 and probably other places.
//cc @ndelangen
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
babel-loader cacheDirectory unknown option - Stack Overflow
Looks like you are mixing JSON style configuration and query string style configuration in you babel-loader config. Try this:
Read more >"Unknown option: .cacheDirectory" after updating to babel-jest ...
The typings yelled at us and I couldn't find cacheDirectory by grepping in Babel's code base, so I just removed it. Wanna send...
Read more >babel-loader - webpack
If the value is set to true in options ( {cacheDirectory: true} ), the loader will use ... targets passed to @babel/preset-env based...
Read more >Configuring Jest
This option tells Jest that all imported modules in your tests should be mocked automatically. All modules used in your tests will have...
Read more >[Solved]-babel-loader cacheDirectory unknown option-babel.js
Looks like you are mixing JSON style configuration and query string style configuration in you babel-loader config. Try this:
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@satazor https://github.com/storybooks/storybook/releases/tag/v3.2.7 👍
@ndelangen Could we have a patch release with the fix? I’m kind of blocked because I need the
3.2.6because of https://github.com/storybooks/storybook/pull/1554, but at the same time I can’t use it because of this bug.