Running display in a Python cell caused some global variables to be set which pixiedust_node tried to migrate to the Node.js environment. These included true, false and self. Doing:
> var true = true
...
in a Node.js repl causes it to hang.
I fixed this by creating a list of variable names that won't ever be migrate from Python --> Node.
Running
display
in a Python cell caused some global variables to be set which pixiedust_node tried to migrate to the Node.js environment. These includedtrue
,false
andself
. Doing:in a Node.js repl causes it to hang.
I fixed this by creating a list of variable names that won't ever be migrate from Python --> Node.