From d0eed62b189a907d06c8a0254e6157c36e4304b6 Mon Sep 17 00:00:00 2001 From: Constance Caramanolis <19931185+ccaraman@users.noreply.github.com> Date: Wed, 1 Apr 2026 12:00:00 +0800 Subject: [PATCH] Update doc to use yarn to use REPL (#838) --- guide.md | 2 +- guide.zh_CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/guide.md b/guide.md index 1ad42a23..b95b4c2d 100644 --- a/guide.md +++ b/guide.md @@ -398,7 +398,7 @@ And there are three rrweb-replayer event will be emitted in the same way: You can also play with rrweb by using the REPL testing tool which does not need installation. -Run `npm run repl` to launch a browser and ask for a URL you want to test on the CLI: +Run `yarn repl` to launch a browser and ask for a URL you want to test on the CLI: ``` Enter the url you want to record, e.g https://react-redux.realworld.io: diff --git a/guide.zh_CN.md b/guide.zh_CN.md index 43edece2..bdb0a933 100644 --- a/guide.zh_CN.md +++ b/guide.zh_CN.md @@ -396,7 +396,7 @@ replayer.on(EVENT_NAME, (payload) => { 在不安装 rrweb 的情况下,也可以通过使用 REPL 工具试用 rrweb 录制 web 应用。 -运行 `npm run repl`,将会启动浏览器并在命令行要求输入一个测试的 url: +运行 `yarn repl`,将会启动浏览器并在命令行要求输入一个测试的 url: ``` Enter the url you want to record, e.g https://react-redux.realworld.io: