ERROR in ./.storybook/config.js
Module build failed: ReferenceError: [BABEL] /Users/madbonze/Documents/Work/applaudience/react-youtube-player/.storybook/config.js: Unknown option: direct.presets
at Logger.error (/Users/madbonze/Documents/Work/applaudience/react-youtube-player/node_modules/babel-loader/node_modules/babel-core/lib/transformation/file/logger.js:58:11)
at OptionManager.mergeOptions (/Users/madbonze/Documents/Work/applaudience/react-youtube-player/node_modules/babel-loader/node_modules/babel-core/lib/transformation/file/options/option-manager.js:126:29)
at OptionManager.init (/Users/madbonze/Documents/Work/applaudience/react-youtube-player/node_modules/babel-loader/node_modules/babel-core/lib/transformation/file/options/option-manager.js:216:10)
at File.initOptions (/Users/madbonze/Documents/Work/applaudience/react-youtube-player/node_modules/babel-loader/node_modules/babel-core/lib/transformation/file/index.js:147:75)
at new File (/Users/madbonze/Documents/Work/applaudience/react-youtube-player/node_modules/babel-loader/node_modules/babel-core/lib/transformation/file/index.js:137:22)
at Pipeline.transform (/Users/madbonze/Documents/Work/applaudience/react-youtube-player/node_modules/babel-loader/node_modules/babel-core/lib/transformation/pipeline.js:164:16)
at transpile (/Users/madbonze/Documents/Work/applaudience/react-youtube-player/node_modules/babel-loader/index.js:12:22)
at Object.module.exports (/Users/madbonze/Documents/Work/applaudience/react-youtube-player/node_modules/babel-loader/index.js:69:12)
@ multi preview
Could it be something I am doing wrong? I am unable to figure out the cause.
I did:
and it's failing with this error:
Could it be something I am doing wrong? I am unable to figure out the cause.