[webchat] Unable to install react-chat-widget (connecting rasa-core with rasa-webchat)

Node version : v6.11.5 React version : 16.5.2 npm version : 3.5.2 yarn version : 1.10.1

npm: sudo npm install --save react-chat-widget yarn sudo yarn add react-chat-widget

can anyone tell. what is the dependencies ?

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'build' ]
2 info using npm@3.5.2
3 info using node@v6.11.4
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle rasa-webchat@0.3.3~prebuild: rasa-webchat@0.3.3
6 silly lifecycle rasa-webchat@0.3.3~prebuild: no script for prebuild, continuing
7 info lifecycle rasa-webchat@0.3.3~build: rasa-webchat@0.3.3
8 verbose lifecycle rasa-webchat@0.3.3~build: unsafe-perm in lifecycle true
9 verbose lifecycle rasa-webchat@0.3.3~build: PATH: /usr/share/npm/bin/node-gyp-bin:/home/user/Videos/rasa-webchat-master/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/usr/local/java/jdk-10/bin:/usr/local/java/jdk-10/jre/bin
10 verbose lifecycle rasa-webchat@0.3.3~build: CWD: /home/user/Videos/rasa-webchat-master
11 silly lifecycle rasa-webchat@0.3.3~build: Args: [ '-c', 'webpack-cli --config webpack.prod.js' ]
12 silly lifecycle rasa-webchat@0.3.3~build: Returned: code: 2  signal: null
13 info lifecycle rasa-webchat@0.3.3~build: Failed to exec build script
14 verbose stack Error: rasa-webchat@0.3.3 build: `webpack-cli --config webpack.prod.js`
14 verbose stack Exit status 2
14 verbose stack     at EventEmitter.<anonymous> (/usr/share/npm/lib/utils/lifecycle.js:232:16)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at EventEmitter.emit (events.js:191:7)
14 verbose stack     at ChildProcess.<anonymous> (/usr/share/npm/lib/utils/spawn.js:24:14)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at ChildProcess.emit (events.js:191:7)
14 verbose stack     at maybeClose (internal/child_process.js:920:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
15 verbose pkgid rasa-webchat@0.3.3
16 verbose cwd /home/user/Videos/rasa-webchat-master
17 error Linux 4.13.0-46-generic
18 error argv "/usr/bin/node" "/usr/bin/npm" "run" "build"
19 error node v6.11.4
20 error npm  v3.5.2
21 error code ELIFECYCLE
22 error rasa-webchat@0.3.3 build: `webpack-cli --config webpack.prod.js`
22 error Exit status 2
23 error Failed at the rasa-webchat@0.3.3 build script 'webpack-cli --config webpack.prod.js'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the rasa-webchat package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     webpack-cli --config webpack.prod.js
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs rasa-webchat
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls rasa-webchat
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

issue : https://github.com/mrbot-ai/rasa-webchat/issues/new