mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
mention deleting ts/node_modules in the docs
https://forums.ankiweb.net/t/strange-behaviour-in-the-html-editor/5796/6
This commit is contained in:
parent
d600bd5800
commit
86108cca55
1 changed files with 11 additions and 8 deletions
|
@ -188,6 +188,17 @@ Audio playing requires `mpv` or `mplayer` to be in your system path.
|
|||
|
||||
Recording also requires `lame` to be in your system path.
|
||||
|
||||
## Build errors and cleaning
|
||||
|
||||
If you get errors with @npm and node_modules in the message, try deleting the
|
||||
ts/node_modules folder.
|
||||
|
||||
Unlike the old Make system, a "clean build" should almost never be required
|
||||
unless you are debugging issues with the build system. But if you need to get
|
||||
things to a fresh state, you can run `bazel clean --expunge`. Afte doing so,
|
||||
make sure you remove the ts/node_modules folder, or subsequent build commands
|
||||
will fail with a "no such file or directory node_modules/anki" message.
|
||||
|
||||
## Tracing build problems
|
||||
|
||||
You can run bazel with '-s' to print the commands that are being executed.
|
||||
|
@ -212,14 +223,6 @@ in the collection2.log file will also be printed on stdout.
|
|||
|
||||
If ANKI_PROFILE_CODE is set, Python profiling data will be written on exit.
|
||||
|
||||
## Cleaning
|
||||
|
||||
Unlike the old Make system, a "clean build" should almost never be required
|
||||
unless you are debugging issues with the build system. But if you need to get
|
||||
things to a fresh state, you can run `bazel clean --expunge`. Afte doing so,
|
||||
make sure you remove the ts/node_modules folder, or subsequent build commands
|
||||
will fail with a "no such file or directory node_modules/anki" message.
|
||||
|
||||
## Mixing development and study
|
||||
|
||||
You may wish to create a separate profile with File>Switch Profile for use
|
||||
|
|
Loading…
Reference in a new issue