y-crdt / yrs-warp

Yrs web socket data exchange protocol implementation for tokio warp server
Other
16 stars 6 forks source link

Fixed setup for examples in readme #13

Open peterkogo opened 1 year ago

peterkogo commented 1 year ago

For running the examples it is not enough to install rollup globally. The dependencies should be installed instead.

Instead of

npm i --global rollup

you should

npm install
Horusiath commented 1 year ago

Thanks @peterkogo . Have you actually checked if it's safe to remove npm i --global rollup for people who haven't got it already installed?

peterkogo commented 1 year ago

@Horusiath Yes, it's inside the package dependencies anyways so it will be installed with npm install.