question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to use Widget Component

See original GitHub issue

Hello. 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:closed
  • Created 5 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
CKanishkacommented, Jun 12, 2019

Hello, I have the same issue but with the newer version of rasa-webchat. Any help please ?

Yeah I am also having the issue when I try to run it in a Linux environment.

1reaction
mounabenayedcommented, Mar 22, 2019

Hello, I have the same issue but with the newer version of rasa-webchat. Any help please ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't communicate with widget component - UI
I am experiencing problems when trying to create a inventory system with UMG. I'm trying to put the widget as a component in...
Read more >
Unable to use Widget Component · Issue #32 - GitHub
Hi, can you provide the snippet where you import and render the component? The error seems weird as the init method in the...
Read more >
Unable to introduce list data to pluggable widget react ...
When attempting to work with entities in a widget via the dataSource xml property type, I'm unable to access anything about the actual...
Read more >
Common Flutter errors
The error is often caused when a ListView (or other kinds of scrollable widgets such as GridView ) is placed inside a Column...
Read more >
Configuring components in Web Widget (Classic)
For some components, you might need to go a step further and configure additional settings. You must be an administrator to configure components...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found