Lua issue trying to build the spec locally

Hi,

Sorry for the very basic question. I’m trying to build a fresh clone of the spec (git@github.com:commonmark/commonmark-spec.git) locally, and I’m getting an error:

~/repos/commonmark-spec[master]$ make spec.html
lua tools/make_spec.lua html < spec.txt > spec.html
Error running filter:
tools/make_spec.lua:174: attempt to call a nil value (global ‘node_append_child’)make: *** [spec.html] Error 1

These are my lua and luarocks versions:

~/repos/commonmark-spec[master]$ lua -v
Lua 5.3.5 Copyright © 1994-2018 Lua.org, PUC-Rio
~/repos/commonmark-spec[master]$ luarocks --version
/usr/local/bin/luarocks 3.3.1
LuaRocks main command-line interface

Does anyone have any ideas?

Thanks,
Peter

I’ve fixed the problem. If you clone the latest version it
should work.

1 Like

That worked; thanks very much!