react-diagrams icon indicating copy to clipboard operation
react-diagrams copied to clipboard

loader cannot process <DemoCanvasWidget>

Open staminna opened this issue 2 years ago • 0 comments

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

@projectstorm/[email protected] storybook:build ./node_modules/.bin/build-storybook -c .storybook -o .out

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! > <DemoCanvasWidget> ERR! | <CanvasWidget engine={engine} /> ERR! | </DemoCanvasWidget> ERR! Module parse failed: Unexpected token (11:49)

etc.. huge error. Should you require further log information, I will be happy to provide it.

staminna avatar Jun 15 '22 19:06 staminna