react-redux-notification
react-redux-notification copied to clipboard
Got a problem compiling with webpack
trafficstars
Hi. I got a problem with webpack, and can't understand the reason. Could you help? Can't understand why it is not ok,since there are a lot of other js, jsx files in the project.
14:33:16 frontend.1 | [./src/features/channels/processingChannelSlice.js] 2.42 KiB {main} [built]
14:33:16 frontend.1 | + 1819 hidden modules
14:33:16 frontend.1 | ERROR in ./node_modules/react-redux-notification/src/components/notifications_container.js 14:4
14:33:16 frontend.1 | Module parse failed: Unexpected token (14:4)
14:33:16 frontend.1 | 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
14:33:16 frontend.1 | |
14:33:16 frontend.1 | | return (
14:33:16 frontend.1 | > <Notification
14:33:16 frontend.1 | | key={notification.id}
14:33:16 frontend.1 | | message={notification.message}
14:33:16 frontend.1 | @ ./node_modules/react-redux-notification/index.js 2:0-69 5:0-10:2
14:33:16 frontend.1 | @ ./src/index.jsx