Hey folks, I have the latest highlight.js code pulled down from GitHub, and I ran npm install with no trouble, but if run 'npm test' in the root I get the response below. I'm assuming I'm just doing something stupid around file paths or my use of node to run the tests...
duncanma@MININT-L03J4R0 MINGW64 /c/Repos/CSI/highlight.js (master)
$ npm test
> highli...@9.8.0 test C:\Repos\CSI\highlight.js
> mocha test/
module.js:327
throw err;
^
Error: Cannot find module '../../build'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (C:\Repos\CSI\highlight.js\test\api\ident.js:3:12)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Suite.<anonymous> (C:\Repos\CSI\highlight.js\test\api\index.js:4:3)
at context.describe.context.context (C:\Repos\CSI\highlight.js\node_modules\mocha\lib\interfaces\bdd.js:47:10)
at Object.<anonymous> (C:\Repos\CSI\highlight.js\test\api\index.js:3:1)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (C:\Repos\CSI\highlight.js\test\index.js:5:1)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at C:\Repos\CSI\highlight.js\node_modules\mocha\lib\mocha.js:220:27
at Array.forEach (native)
at Mocha.loadFiles (C:\Repos\CSI\highlight.js\node_modules\mocha\lib\mocha.js:217:14)
at Mocha.run (C:\Repos\CSI\highlight.js\node_modules\mocha\lib\mocha.js:469:10)
at Object.<anonymous> (C:\Repos\CSI\highlight.js\node_modules\mocha\bin\_mocha:404:18)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:968:3
npm ERR! Test failed. See above for more details.
duncanma@MININT-L03J4R0 MINGW64 /c/Repos/CSI/highlight.js (master)
$