Closed
Bug 1276142
Opened 9 years ago
Closed 9 years ago
./web-server.js fails because it can't find minimist
Categories
(Tree Management :: Treeherder, defect)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: KWierso, Unassigned)
References
Details
I rebased to the current head of master branch and tried to run ./web-server.js
It immediately failed with:
$ ./web-server.js
module.js:338
throw err;
^
Error: Cannot find module 'minimist'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (c:\Users\wkocher\mozilla\treeherder\web-server.js:9:16)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
Flags: needinfo?(emorley)
Comment 1•9 years ago
|
||
That bug added a dependency to package.json, which means `npm install` needs to be run again. There's no real way to automate this as far as I know. Similar to when working with Python, if you see an error about missing packages, if in doubt re-run `npm install` or `pip install -r ...` etc :-)
Flags: needinfo?(emorley)
Comment 2•9 years ago
|
||
Yeah, sorry about that, I should have announced the change. Did so:
https://groups.google.com/forum/#!topic/mozilla.tools.treeherder/BVKjv7fQKg4
As Ed suggested, just re-run npm install and you should be good.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•