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
I was trying to run a code from lmod which imported this pacakge's json module by default. However, probably because of the use of strict, the import fails to run:
/usr/bin/lua: /usr/share/lua/5.4/json/encode/output.lua:8: variable 'loadstring' is not declared
stack traceback:
[C]: in function 'error'
./libexec/../tools/strict.lua:36: in metamethod 'index'
/usr/share/lua/5.4/json/encode/output.lua:8: in main chunk
[C]: in function 'require'
/usr/share/lua/5.4/json/encode.lua:12: in main chunk
[C]: in function 'require'
/usr/share/lua/5.4/json.lua:6: in main chunk
[C]: in function 'require'
./libexec/spider:402: in local 'func'
./libexec/spider:494: in function 'main'
./libexec/spider:842: in main chunk
[C]: in ?
I was trying to run a code from
lmod
which imported this pacakge'sjson
module by default. However, probably because of the use ofstrict
, the import fails to run:lmod
seems to use a syntax like:The text was updated successfully, but these errors were encountered: