js_bintrees
js_bintrees copied to clipboard
TypeError: Cannot read property 'slice' of undefined
After cloning the master branch and attempting to run the tests I receive the output:
/home/user/Projects/js_bintrees/node_modules/jshint/lib/cli.js:92
targets = typeof targets === "string" ? null : targets.slice(1);
^
TypeError: Cannot read property 'slice' of undefined
at Object.interpret (/home/user/Projects/js_bintrees/node_modules/jshint/lib/cli.js:92:64)
at Object.<anonymous> (/home/user/Projects/js_bintrees/node_modules/jshint/bin/hint:2:25)
at Module._compile (internal/modules/cjs/loader.js:689:30)
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 Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] test: `nodeunit ./test/test_*.js && jshint lib/*.js index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Using node version 10.15.1 and npm 6.4.1 on debian 9.6.