question

Lisa Xu avatar image
Lisa Xu asked Lisa Xu answered

Issue of Getting Started with WebRTC Tutorials,Issue of Getting Started with WebRTC Tutorials:

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

phone
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Vyshakh Babji avatar image
Vyshakh Babji answered Vyshakh Babji edited

Please run $npm install before $npm start

,

Please run $npm install before $npm start


1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Lisa Xu avatar image
Lisa Xu answered Lisa Xu edited

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?

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Lisa Xu avatar image
Lisa Xu answered

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)

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys