I follow instruction of
https://ringcentral-tutorials.github.io/getting-started-with-webrtc-js-demo/
at
https://ringcentral-tutorials.github.io/getting-started-with-webrtc-js-demo/#2
$ git clone https://github.com/ringcentral/ringcentral-web-phone.git
$ cd ringcentral-web-phone
$ npm start
When I try
$ npm start
I got following Message:
c:\RingCentral\ringcentral-web-phone>npm start
> ringcentral-web-phone@0.8.6 start c:\RingCentral\ringcentral-web-phone
> webpack-dev-server --config webpack.config.js --progress --color
'webpack-dev-server' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ringcentral-web-phone@0.8.6 start: `webpack-dev-server --config webpack.config.js --progress --color`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ringcentral-web-phone@0.8.6 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\lxu\AppData\Roaming\npm-cache\_logs\2021-03-25T15_55_48_638Z-debug.log
I did install 'webpack-dev-server' but when I run http://localhost:8080/demo/ in google chrome the page just like following:
RingCentral WebPhone Demo
<% htmlWebpackPlugin.files.js.forEach(function (src) { %> <% }) %>
Should it have some buttons?
Thanks. or the way I install 'webpack-dev-server' is wrong?
Here is error when I browse:
URIError: Failed to decode param '/demo/%3C%=%20src%20%%3E'
at decodeURIComponent (<anonymous>)
at decode_param (c:\Projects\Demo\node_modules\express\lib\router\layer.js:172:12)
at Layer.match (c:\Projects\Demo\node_modules\express\lib\router\layer.js:123:27)
at matchLayer (c:\Projects\Demo\node_modules\express\lib\router\index.js:574:18)
at next (c:\Projects\Demo\node_modules\express\lib\router\index.js:220:15)
at expressInit (c:\Projects\Demo\node_modules\express\lib\middleware\init.js:40:5)
at Layer.handle [as handle_request] (c:\Projects\Demo\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (c:\Projects\Demo\node_modules\express\lib\router\index.js:317:13)
at c:\Projects\Demo\node_modules\express\lib\router\index.js:284:7
at Function.process_params (c:\Projects\Demo\node_modules\express\lib\router\index.js:335:12)
at next (c:\Projects\Demo\node_modules\express\lib\router\index.js:275:10)
at query (c:\Projects\Demo\node_modules\express\lib\middleware\query.js:45:5)
at Layer.handle [as handle_request] (c:\Projects\Demo\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (c:\Projects\Demo\node_modules\express\lib\router\index.js:317:13)
at c:\Projects\Demo\node_modules\express\lib\router\index.js:284:7
at Function.process_params (c:\Projects\Demo\node_modules\express\lib\router\index.js:335:12)
A new Community is coming to RingCentral!
Posts are currently read-only as we transition into our new platform.We thank you for your patience
during this downtime.
Try Workflow Builder
Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!Try RingCentral Workflow Builder