hackclub / y-codemirror-react

A prototype of using yjs & codemirror for multi-user code editing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation instructions

You need to have Node installed, as well as npm which comes bundled with node. Commands:

git clone https://github.com/Cosmin-Mare/y-codemirror-react.git

cd y-codemirror-react

npm i -> if this gives error, then npm i --legacy-peer-deps

npm start to run app.

if that gives an error, ctrl+C to stop the app and then:

  1. for windows: run $env:NODE_OPTIONS = "--openssl-legacy-provider" from Powershell.
  2. for Linux, MacOS, bash: export NODE_OPTIONS=--openssl-legacy-provider

And then try npm start again

About

A prototype of using yjs & codemirror for multi-user code editing

License:MIT License


Languages

Language:JavaScript 63.9%Language:HTML 23.7%Language:CSS 12.4%