News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Issue of Getting Started with WebRTC Tutorials,Issue of Getting Started with WebRTC Tutorials:
Tags: phone
Mar 25, 2021 at 9:14am   •   3 replies  •  0 likes
Lisa Xu

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

3 Answers
answered on Mar 29, 2021 at 7:13am  

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?


 0
answered on Mar 29, 2021 at 7:15am  

RingCentral WebPhone Demo

<% htmlWebpackPlugin.files.js.forEach(function (src) { %> <% }) %>



 0
answered on Mar 29, 2021 at 7:21am  

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)


 0
answered on Mar 26, 2021 at 11:05am  

Please run $npm install before $npm start

,

Please run $npm install before $npm start



 0



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

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us