I reinstalled context and lmtx, followed your instructions because I got the same error message but now I get another error message; my editor is Emacs.
Thank you.

Running `LmtX' on `ESSAI' with ``/home/viserion/LMTX/tex/texmf-linux-64/bin/mtxrun --autogenerate --script context --autopdf ESSAI''
mtxrun          | unknown script 'context.lua' or 'mtx-context.lua'

TeX Output exited abnormally with code 1 at Fri Apr  3 19:15:18

Le ven. 3 avr. 2020 à 15:07, Pablo Rodriguez <oinos@gmx.es> a écrit :
On 4/3/20 2:18 PM, Fabrice Couvreur wrote:
> Hi,
> I did the installation then I copied the files and finally I did mtxrun
> --generate
> The file does not compile and I get a file where it says ERROR.
> viserion@archlinux ~]$ cd /home/viserion/data/context/tex/texmf-modules/
> [viserion@archlinux texmf-modules]$ ls
> doc  fonts  ls-R  metapost  scripts  source  tex  VERSION

Hi Fabrice,

I have just installed both LMTX and the ConTeXt Suite brand new. I moved
the tex/texmf-modules contents form the Suite to LMTX tex/temxf-modules.

Your file was compiled perfectly fine. I removed the contents of
tex/texmf-modules and I got these errors:

system          > jobfiles > unknown tex file
modules         > 'tikz' is loaded

tex error       > tex error on line 2 in file ./a.tex: ! Undefined
control sequence

<recently read> \syst_helpers_triple_empty_two_nop  \usetikzlibrary

l.2 \usetikzlibrary

If you get a similar error, I would do the following:

1. Remove tex/texmf-cache/luatex-cache.
2. Run "mtxrun --generate".
3. Compile the document.

I hope this helps,

If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net