blockly-samples icon indicating copy to clipboard operation
blockly-samples copied to clipboard

RTC example needs updates

Open SebCanet opened this issue 2 years ago • 1 comments

Category

Examples

Component

blockly-rtc

Describe the bug

Updating Blockly version in dependencies breaks this example, serializaton method has changed so it cannot work anymore.

To Reproduce

Steps to reproduce the behavior:

  1. Update blockly dependance from v4 to v8
  2. npm install
  3. npm run start-websocket
  4. See error when opening browsers

Many thanks for updating this work!

SebCanet avatar May 16 '22 19:05 SebCanet

After many tests, I can upgrade all dependencies except blockly in v6.20210701.0 and copy-webpack-plugin in v5.1.2. It works in Windows but with "cross-env" dependency added, and adding "SET NODE_OPTIONS=--openssl-legacy-provider" before any script in package.json. So line "audit": "npm audit fix", becomes "audit": "SET NODE_OPTIONS=--openssl-legacy-provider && cross-env npm audit fix", Hope this help to help me :-D

SebCanet avatar May 16 '22 22:05 SebCanet

This appears to have been resolved in #1346.

gonfunko avatar Apr 14 '23 15:04 gonfunko