cannot run ui tests (Cannot find module 'commander')
debian stretch
nodejs from https://deb.nodesource.com/setup_7.x
npm install commander bitmask_js@0.0.1 /home/user/src/bitmask-dev/ui └─┬ commander@2.9.0 └── graceful-readlink@1.0.1 (venv) user@WOPR:~/src/bitmask-dev/ui$ make test npm run test > bitmask_js@0.0.1 test /home/user/src/bitmask-dev/ui > mocha --compilers js:babel-core/register ./test/**/*.js module.js:472 throw err; ^ Error: Cannot find module 'commander' at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object. (/usr/lib/nodejs/mocha/bin/_mocha:7:15) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3)
Edited by rustad