Skip to content

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

Open
@tapiov

Description

@tapiov

I posted below issue to LLK/scratch-vm. Their response was

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

Since Turbowarp is in active development, I wonder is the API update fix going to be include to Turbowarp in future?


Expected Behavior
npm start would start without error
Scratch VM playground would open a project

Actual Behavior
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:

Install Node-JS LTS 18.12.1 x64
git clone https://github.com/LLK/scratch-vm.git
cd scratch-vm
npm install
npm start => fails with (error:0308010C:digital envelope routines::unsupported)

set NODE_OPTIONS=--openssl-legacy-provider
npm start
Go to http://127.0.0.1:8073/playground/#119615668

Page screenshot above, run button only loads project 119615668. If changed, it returns to 119615668
Changing the # in URL doesn't load new project
System Details
Chrome Version 107.0.5304.107 (Official Build) (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions