question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unknown option: base.cacheDirectory

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

0reactions
satazorcommented, Aug 23, 2017

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found