awslabs/amazon-kinesis-video-streams-webrtc-sdk-js

How to export example folder?

overheat opened this issue · 3 comments

A newbie to js.

How to export example folder to another place?
I tried those:

  1. cp -r
  2. npm run release

Both of them got error, after I click on start viewer button.

[ERROR] [VIEWER] Encountered error starting: @file:///Users/myname/repos/amazon-kinesis-video-streams/webrtc/js/examples/viewer.js:408:36

I found this in package.json

"copy-examples-to-dist": "cp -r examples dist",

Looks npm run release just cp -r in the last step.