You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I want to give moonscript a try but I ran into some errors.
This is what I did so far :
$ sudo luarocks install moonscript
Installing https://luarocks.org/moonscript-0.5.0-1.src.rock
moonscript 0.5.0-1 depends on lua >= 5.1 (5.4-1 provided by VM)
moonscript 0.5.0-1 depends on lpeg >= 0.10, ~= 0.11 (1.0.2-1 installed)
moonscript 0.5.0-1 depends on alt-getopt >= 0.7 (0.7.0-1 installed)
moonscript 0.5.0-1 depends on luafilesystem >= 1.5 (1.8.0-1 installed)
moonscript 0.5.0-1 is now installed in /usr (license: MIT)
and then
$ moon --version
/usr/bin/lua5.4: /usr/share/lua/5.4/alt_getopt.lua:24: attempt to call a nil value (global 'module')
stack traceback:
/usr/share/lua/5.4/alt_getopt.lua:24: in main chunk
[C]: infunction'require'
/usr/lib/luarocks/rocks-5.4/moonscript/0.5.0-1/bin/moon:2: in main chunk
[C]: in?
The text was updated successfully, but these errors were encountered:
To install on lua 5.4 you need the dev version of moonscript, the stable package on luarocks being quite old. you can obtain it by adding the --dev flag to the luarocks invocation.
Hello, I want to give moonscript a try but I ran into some errors.
This is what I did so far :
and then
The text was updated successfully, but these errors were encountered: