Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm start => Error: error:0308010C:digital envelope routines::unsupported #3814

Open
tapiov opened this issue Nov 25, 2022 · 2 comments
Open

Comments

@tapiov
Copy link

tapiov commented Nov 25, 2022

Expected Behavior

  1. npm start would start without error
    Scratch VM playground would open a project

Actual Behavior

  1. Emits error and fails to start
    Error: error:0308010C:digital envelope routines::unsupported

Steps to Reproduce

Use latest Node-JS LTS 18.12.1 x64
npm start

-- Probably caused by updated Node-JS so trying legacy SSL provider option
set NODE_OPTIONS=--openssl-legacy-provider
npm start
http://127.0.0.1:8073/playground/#119615668 opens
The project doesn't load, unable to change the project in URL or input box
No AST, see attached screenshot

empty

Steps to reproduce the behavior:

  1. Install Node-JS LTS 18.12.1 x64
  2. git clone https://github.com/LLK/scratch-vm.git
  3. cd scratch-vm
  4. npm install
  5. npm start => fails with (error:0308010C:digital envelope routines::unsupported)
  6. set NODE_OPTIONS=--openssl-legacy-provider
  7. npm start
  8. Go to http://127.0.0.1:8073/playground/#119615668
  9. Page screenshot above, run button only loads project 119615668. If changed, it returns to 119615668
  10. Changing the # in URL doesn't load new project

System Details

Chrome Version 107.0.5304.107 (Official Build) (64-bit)

Screenshots
empty

@mxmou
Copy link

mxmou commented Nov 26, 2022

The playground stopped working because the API for loading a project was recently updated.

@nighca
Copy link

nighca commented Jan 25, 2024

Hi @mxmou, where can I find more information about the update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants