js-diff-benchmark icon indicating copy to clipboard operation
js-diff-benchmark copied to clipboard

won't run in Win10 :/

Open tomByrer opened this issue 4 years ago • 1 comments

$ npm test

> [email protected] test D:\doc\prog\learn\js\vdom\js-diff-benchmark
> node --expose-gc src/bench.js

D:\doc\prog\learn\js\vdom\js-diff-benchmark\src\utils.js:29
    mutations.push(`remove: drop(${oldNode.textContent})`);
                                           ^

TypeError: Cannot read property 'textContent' of undefined
    at Dommy.container.removeChild (D:\doc\prog\learn\js\vdom\js-diff-benchmark\src\utils.js:29:44)
    at module.exports (D:\doc\prog\learn\js\vdom\js-diff-benchmark\libs\spect.js:20:18)       
    at create1000 (D:\doc\prog\learn\js\vdom\js-diff-benchmark\src\utils.js:82:14)
    at D:\doc\prog\learn\js\vdom\js-diff-benchmark\src\bench.js:75:20
    at Array.forEach (<anonymous>)
    at Object.<anonymous> (D:\doc\prog\learn\js\vdom\js-diff-benchmark\src\bench.js:58:6)     
    at Module._compile (internal/modules/cjs/loader.js:1147:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1167:10)
    at Module.load (internal/modules/cjs/loader.js:996:32)
    at Function.Module._load (internal/modules/cjs/loader.js:896:14)

TY :)

tomByrer avatar Apr 27 '20 05:04 tomByrer

thanks for reporting @tomByrer I can't think right away what it could be

luwes avatar Apr 29 '20 02:04 luwes