$ yarn storybook
yarn run v1.6.0
(node:20896) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
$ start-storybook -p 9001 -c .storybook
info @storybook/react v4.1.11
info
info => Loading presets
info => Loading presets
info => Loading custom .babelrc
info => Loading custom .babelrc
info => Using base config because react-scripts is not installed.
info => Loading custom webpack config (extending mode).
webpack built f3d79389f292b1bce010 in 15699ms
× 「wdm」: Hash: f3d79389f292b1bce010
Version: webpack 4.29.3
Time: 15699ms
Built at: 02/20/2019 5:13:11 PM
Asset Size Chunks Chunk Names
iframe.html 2.25 KiB [emitted]
main.f3d79389f292b1bce010.bundle.js 55.8 KiB main [emitted] main
main.f3d79389f292b1bce010.bundle.js.map 33.4 KiB main [emitted] main
runtime~main.f3d79389f292b1bce010.bundle.js 31 KiB runtime~main [emitted] runtime~main
runtime~main.f3d79389f292b1bce010.bundle.js.map 32.1 KiB runtime~main [emitted] runtime~main
vendors~main.f3d79389f292b1bce010.bundle.js 1.85 MiB vendors~main [emitted] [big] vendors~main
vendors~main.f3d79389f292b1bce010.bundle.js.map 1.97 MiB vendors~main [emitted] vendors~main
Entrypoint main [big] = runtime~main.f3d79389f292b1bce010.bundle.js runtime~main.f3d79389f292b1bce010.bundle.js.map vendors~main.f3d79389f292b1bce010.bundle.js vendors~main.f3d79389f292b1bce010.bundle.js.map main.f3d79389f292b1bce010.bundle.js main.f3d79389f292b1bce010.bundle.js.map
[0] multi ./node_modules/@storybook/core/dist/server/common/polyfills.js ./node_modules/@storybook/core/dist/server/preview/globals.js ./.storybook/config.js (webpack)-hot-middleware/client.js?reload=true 64 bytes {main} [built]
[./.storybook/config.js] 419 bytes {main} [built]
[./components/button/stories/index.js] 856 bytes {main} [built]
[./components/checkbox/stories/index.js] 323 bytes {main} [built]
[./components/field/stories/index.js] 1.24 KiB {main} [built]
[./components/grid/stories/index.tsx] 330 bytes {main} [built] [failed] [1 error]
[./components/ripple/stories/index.js] 1.68 KiB {main} [built]
[./node_modules/@storybook/core/dist/server/common/polyfills.js] 114 bytes {vendors~main} [built]
[./node_modules/@storybook/core/dist/server/preview/globals.js] 93 bytes {vendors~main} [built]
[./node_modules/@storybook/react/dist/client/index.js] 1.08 KiB {vendors~main} [built]
[./node_modules/airbnb-js-shims/index.js] 40 bytes {vendors~main} [built]
[./node_modules/core-js/fn/symbol/index.js] 240 bytes {vendors~main} [built]
[./node_modules/global/window.js] 232 bytes {vendors~main} [built]
[./node_modules/querystring-es3/index.js] 127 bytes {vendors~main} [built]
[./node_modules/webpack-hot-middleware/client.js?reload=true] (webpack)-hot-middleware/client.js?reload=true 7.59 KiB {vendors~main} [built]
+ 395 hidden modules
ERROR in ./components/grid/stories/index.tsx 5:30
Module parse failed: Unexpected token (5:30)
You may need an appropriate loader to handle this file type.
| import { Grid, Row, Column } from '../index';
|
> function Padded({ bg, height }: { bg: string, height?: number }) {
| const h = !!height ? `${height}px` : '100%';
| console.log(h);
@ ./.storybook/config.js 4:2-49
@ multi ./node_modules/@storybook/core/dist/server/common/polyfills.js ./node_modules/@storybook/core/dist/server/preview/globals.js ./.storybook/config.js (webpack)-hot-middleware/client.js?reload=true
Child HtmlWebpackCompiler:
Asset Size Chunks Chunk Names
__child-HtmlWebpackPlugin_0 558 KiB HtmlWebpackPlugin_0 HtmlWebpackPlugin_0
Entrypoint HtmlWebpackPlugin_0 = __child-HtmlWebpackPlugin_0
[./node_modules/html-webpack-plugin/lib/loader.js!./node_modules/@storybook/core/dist/server/templates/index.ejs] 1.75 KiB {HtmlWebpackPlugin_0} [built]
[./node_modules/lodash/lodash.js] 527 KiB {HtmlWebpackPlugin_0} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 472 bytes {HtmlWebpackPlugin_0} [built]
[./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {HtmlWebpackPlugin_0} [built]