mention JS flakiness in Mac/Linux instructions

This commit is contained in:
Damien Elmes 2021-06-21 13:23:03 +10:00
parent 2bfb0c9286
commit 4ab0820bbc
3 changed files with 12 additions and 6 deletions

View file

@ -81,6 +81,10 @@ This will build Anki and run it in place.
The first build will take a while, as it downloads and builds a bunch of
dependencies. When the build is complete, Anki will automatically start.
The Javascript build code is currently a bit flaky, so the initial
build may fail with an error. If you get an error when running/building,
try repeating the command once or twice - it should pick up where it left off.
To play and record audio, install mpv and lame.
If you or your distro has made ccache the standard compiler, you will need to

View file

@ -51,6 +51,10 @@ This will build Anki and run it in place.
The first build will take a while, as it downloads and builds a bunch of
dependencies. When the build is complete, Anki will automatically start.
The Javascript build code is currently a bit flaky, so the initial
build may fail with an error. If you get an error when running/building,
try repeating the command once or twice - it should pick up where it left off.
To play audio, use Homebrew to install mpv and lame.
## Optimized builds

View file

@ -61,12 +61,6 @@ Anki's source files do not need to be in a specific location other than on the
same drive as `\bazel`, but it's best to avoid long paths, as they can cause
problems.
## Build failures
The Javascript bundling on Windows is currently a bit flaky, so the initial
build will likely fail with an error about a missing rollup module. If you
get an error when running the commands below, try repeating them once or twice.
## Running Anki during development
Open PowerShell and change to the top level of Anki's source folder,
@ -81,6 +75,10 @@ This will build Anki and run it in place.
The first build will take a while, as it downloads and builds a bunch of
dependencies. When the build is complete, Anki will automatically start.
The Javascript build code is currently a bit flaky, so the initial
build may fail with an error. If you get an error when running/building,
try repeating the command once or twice - it should pick up where it left off.
To play and record audio, mpv.exe and lame.exe must be on the path.
## Optimized builds