info @storybook/react v6.5.9
info
info => Cleaning outputDir: /Users/username/smartdev/smartui/node_modules/@projectstorm/react-diagrams/diagrams-demo-gallery/.out
info => Loading presets
info => Loading custom manager config
info => Compiling manager..
info => Compiling preview..
info => Using implicit CSS loaders
info => Loading custom manager config
info => Using default Webpack5 setup
ERR! => Failed to build the preview
ERR! Module parse failed: Unexpected token (27:2)
ERR! You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
ERR! |
ERR! | return (
ERR! >
ERR! |
ERR! |
ERR! Module parse failed: Unexpected token (11:49)
etc.. huge error. Should you require further log information, I will be happy to provide it.
I created-react-app with the latest react version imported the react-diagrams using macos catalina18.3.0
diagrams-demo-gallery username$ npm run storybook:build
info @storybook/react v6.5.9 info info => Cleaning outputDir: /Users/username/smartdev/smartui/node_modules/@projectstorm/react-diagrams/diagrams-demo-gallery/.out info => Loading presets info => Loading custom manager config info => Compiling manager.. info => Compiling preview.. info => Using implicit CSS loaders info => Loading custom manager config info => Using default Webpack5 setup ERR! => Failed to build the preview ERR! Module parse failed: Unexpected token (27:2) ERR! You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders ERR! | ERR! | return ( ERR! >
ERR! |
ERR! |
ERR! Module parse failed: Unexpected token (11:49)
etc.. huge error. Should you require further log information, I will be happy to provide it.