Open chriszrc opened 6 years ago
Ah, looking at the pixiedustNodeRepl source code, I see that global variables are converted for sending to python. Looks like maybe a circular reference check needs to be put in place here? I can confirm that if I use let instead of var, I don't get the error-
@chriszrc I experienced the same issue as well
and removing the variable from the global scope and moving it into a function scope solved it for me
thanks!
I'm attempting to use the node-postgres library from pixiedust_node. The following simple setup fails:
Oddly, the error occurs even when trying to
console.log("it works")
instead of the results, so I'm not even sure where/what is causing the circular reference error. The same code executes just fine when run directly from node. Here's the stacktrace: