Closed
Bug 1172548
Opened 10 years ago
Closed 10 years ago
gaia-marionette fails to run with Error: invalid interface "gaia/node_modules/marionette-js-runner/lib/ui"
Categories
(Firefox OS Graveyard :: Gaia, defect)
Firefox OS Graveyard
Gaia
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gerard-majax, Unassigned)
References
Details
(Keywords: regression)
+ /home/alex/codaz/Mozilla/b2g/gaia/bin/../node_modules/.bin/marionette-mocha --timeout 60s apps/system/test/marionette/ambient_indicator_test.js --device-type phone
/home/alex/codaz/Mozilla/b2g/gaia/node_modules/mocha/lib/mocha.js:154
if (!this._ui) throw new Error('invalid interface "' + name + '"');
^
Error: invalid interface "/home/alex/codaz/Mozilla/b2g/gaia/node_modules/marionette-js-runner/lib/ui"
at Mocha.ui (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/mocha/lib/mocha.js:154:24)
at Object.<anonymous> (/home/alex/codaz/Mozilla/b2g/gaia/node_modules/mocha/bin/_mocha:195:7)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:935:3
Flags: needinfo?(gaye)
Reporter | ||
Comment 1•10 years ago
|
||
So,
- npm install did nothing
- make node_modules said everything was fine
- but npm ls complained about missing marionette-js-runner@*, so I did a npm install against this one and it works now.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Flags: needinfo?(gaye)
Comment 2•10 years ago
|
||
I had the same problem on npm 1.4.21.
"make really-clean" did not work for me.
What fixed it for me was installing npm2 and re-running "npm install":
> npm install npm@latest
> PATH=$PWD/node_modules/.bin/:$PATH npm install
(thanks to gerard_majax!)
You need to log in
before you can comment on or make changes to this bug.
Description
•