Closed wiggin77 closed 7 years ago
How can i get nodejs
define while js
is not defined?
Maybe this patch is needed? https://github.com/HaxeFoundation/hxnodejs/pull/94
I agree it is strange, but I hit the compile error in a nodejs project. At some point in the compilation process js
is not defined but nodejs
is -- probably during macro execution.
After reviewing the issue Gama11 referenced, my PR may not be the best way to fix this (except the toString does need an arg). I'll grab the hxnodejs patch and try again.
Hmmm. I already have the latest hxnodejs which includes that patch.
I'll close this, and provide PR for just the toString issue.
Include nodejs as supported target, and fix compile error for other targets using
CallStack.toString(stack)