Closed Bug 960091 Opened 10 years ago Closed 10 years ago

Integration tests: Error: Cannot find module 'mocha/lib/reporters/Spec'

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 945095

People

(Reporter: benfrancis, Unassigned)

Details

STR:
* make test-integration

Expected:
* Integration tests run

Actual:

module.js:340
    throw err;
          ^
Error: Cannot find module 'mocha/lib/reporters/Spec'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at getOpts (/home/tola/Code/benfrancis/gaia/node_modules/marionette-js-runner/bin/marionette-mocha:26:16)
    at main (/home/tola/Code/benfrancis/gaia/node_modules/marionette-js-runner/bin/marionette-mocha:145:14)
    at Object.<anonymous> (/home/tola/Code/benfrancis/gaia/node_modules/marionette-js-runner/bin/marionette-mocha:151:3)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
make: *** [test-integration] Error 8


Prepending the command with "REPORTER=spec" makes this error go away, but I don't know why.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.