Closed barockobamo closed 5 years ago
When I build calc.unlog.as.js
, the relevant section of included code for Compare.js
is:
/* --------------------- Compare.js --------------------- */
const _compare_generic = require('util').isDeepStrictEqual;
const _compare_stack = _compare_generic;
/* --------------------- calc.unlog.js --------------------- */
I'm not sure why you've got different results.
Sorry, i do have the same code, i removed it without realizing that it was relevant for the issue. But it still fail, i will continue to investigate.
Could it be the require('util')
bit? You could try running it in node.
What node version do you have installed? node --version
or nodejs --version
will give this to you.
$ node -v v8.11.4
I think it's too old. Could you try launching it and doing require('util')
in it? You'll then see if it has the function isDeepStrictEqual
.
Yes, Util.isDeepStrictEqual was introduced to Node v9. I had intended that we should be compatible with the Node LTS release, which is currently the 8.x versions (most recent is 8.12, last tested with 8.11). So the fault is me leaving the intended version requirements.
Here is one of my stange issue :
Here is a part of the code in calc.unlog.as.js :
And it's true that __comparestack is not a function. Alan was passing the test this morning but i still don't understand why i have this one. Maybe it is still my configuration which is not in place ...