Actions
Bug #26098
closedStroybook doesn't work locally
Description
when running `npm run stroybook` this error might occur:
npm run storybook
> TheForemanDevDeps@1.22.0 storybook /home/ares/Projekty/Zdrojaky/foreman
> start-storybook -p 6006
@storybook/react v3.2.16
=> Loading custom .babelrc
=> Loading custom addons config.
=> Loading custom webpack config (full-control mode).
/home/ares/Projekty/Zdrojaky/foreman/.storybook/webpack.config.js:7
defaultConfig.module.rules = [
^
TypeError: Cannot read property 'module' of undefined
at module.exports (/home/ares/Projekty/Zdrojaky/foreman/.storybook/webpack.config.js:7:17)
at exports.default (/home/ares/Projekty/Zdrojaky/foreman/node_modules/@storybook/react/dist/server/config.js:62:12)
at exports.default (/home/ares/Projekty/Zdrojaky/foreman/node_modules/@storybook/react/dist/server/middleware.js:19:37)
at Object.<anonymous> (/home/ares/Projekty/Zdrojaky/foreman/node_modules/@storybook/react/dist/server/index.js:153:34)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! TheForemanDevDeps@1.22.0 storybook: `start-storybook -p 6006`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the TheForemanDevDeps@1.22.0 storybook script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ares/.npm/_logs/2019-02-20T13_49_23_146Z-debug.log
Updated by The Foreman Bot almost 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6496 added
Updated by Amir Fefer almost 7 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 0b4bc7918ca7ae8ddc9a9cd369a5e067c3909a89.
Actions