Hi,
After hours of hacking (and finally some Google), it appears that something
is broken with "process"
*Uncaught Error: [string "bundle:deps/stream/stream_readable.lua"]:805:
attempt to index global 'process' (a nil value)*
*stack traceback:*
* [string "bundle:deps/stream/stream_readable.lua"]:805: in function
'resume'*
* [string "bundle:deps/stream/stream_readable.lua"]:797: in function
'resume'*
* [string "bundle:deps/net.lua"]:165: in function 'resume'*
* [string "bundle:deps/stream/stream_readable.lua"]:762: in function 'on'*
* [string "bundle:main.lua"]:40: in function 'handler'*
* [string "bundle:deps/core.lua"]:248: in function 'emit'*
* [string "bundle:deps/net.lua"]:306: in function 'handler'*
* [string "bundle:deps/core.lua"]:248: in function 'emit'*
* [string "bundle:deps/net.lua"]:255: in function <[string
"bundle:deps/net.lua"]:252>*
* [C]: in function 'run'*
* [string "bundle:main.lua"]:66: in main chunk*
But, if I add this to main.lua then the problem is solved (thanks @sclark39)
:
*_G['process'] = require('process').globalProcess()*
Bug?
Cheers.
--
You received this message because you are subscribed to the Google Groups
"luvit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.