Unable to use Widget Component
See original GitHub issueHello. Thanks for this widget, it has a lot of potential.
For two months I use rasa-webchat without using React (only using html and script).
Now using React I’m trying to import the Component to my project using the steps in README, but it appears this error when I try to use the Component:
` ERROR in ./node_modules/rasa-webchat/index.js 9:6 Module parse failed: Unexpected token (9:6) You may need an appropriate loader to handle this file type. | | ReactDOM.render(
<Widget
| socketUrl={args.socketUrl} | socketPath={args.socketPath} @ ./src/components/WebChat/WebChat.js 19:0-38 38:29-35 @ ./src/routes.js @ ./src/index.js @ multi (webpack)-dev-server/client?http://0.0.0.0:3000 ./src/index.js`
I’m using React 16.6.3 with Webpack 4.26 and node 10.14.1.
Someone could help me? 😦
Thanks
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (3 by maintainers)
Top GitHub Comments
Yeah I am also having the issue when I try to run it in a Linux environment.
Hello, I have the same issue but with the newer version of rasa-webchat. Any help please ?