On Tue, 25 Jun, 2019 at 3:07 PM, Pirate Praveen
<prav...@onenetbeyond.org> wrote:
Now there is another error (tried replacing commonjs2 with commonjs,
also tried with nodejs 12),
dh_auto_test --buildsystem=nodejs
/usr/bin/node -e require\(\".\"\)
/<<PKGBUILDDIR>>/dist/dagre-d3.core.js:950
function (node, name, id, index, group, timing) {
^
SyntaxError: Unexpected token (
at new Script (vm.js:79:7)
at createScript (vm.js:251:10)
at Object.runInThisContext (vm.js:303:10)
at Module._compile (internal/modules/cjs/loader.js:657:28)
at Object.Module._extensions..js
(internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
dh_auto_test: /usr/bin/node -e require\(\".\"\) returned exit code 1
Same error when changing package.json#main to dist/dagre-d3.js (umd
format).