Hi all! I'm trying to rebuild the React App report page (for customization), but an error occurs when running the command "npm run build-compare" . Tell me how you can solve the problem? Thank you!
root# cd /usr/local/lib/node_modules/backstopjs
root# npm run build-compare
assets by status 324 bytes [cached] 1 asset
./compare/src/index.js 279 bytes [built] [code generated] [1 error]
ERROR in ./compare/src/index.js 9:2
Module parse failed: Unexpected token (9:2)
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
Hi all! I'm trying to rebuild the React App report page (for customization), but an error occurs when running the command "npm run build-compare" . Tell me how you can solve the problem? Thank you!
root# cd /usr/local/lib/node_modules/backstopjs root# npm run build-compare
assets by status 324 bytes [cached] 1 asset ./compare/src/index.js 279 bytes [built] [code generated] [1 error]
ERROR in ./compare/src/index.js 9:2 Module parse failed: Unexpected token (9:2) 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
| | ReactDOM.render( > <Provider store={store}> | <App /> | </Provider>,