ddopson / underscore-cli

Command-line utility-belt for hacking JSON and Javascript.
Other
1.72k stars 83 forks source link

Error: Cannot find module '/usr/bin/underscore-filter' #33

Open notslang opened 10 years ago

notslang commented 10 years ago

I get an error message at the top of my data, even though it works perfectly:

$ underscore -i accord-log filter "value.engineName == 'jade'"

module.js:340
    throw err;
          ^
Error: Cannot find module '/usr/bin/underscore-filter'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:906:3
[
  {
    "engineName": "jade",
    "method": "render",
    "duration": 0.019291837,
    "deps": [ ],
    "isolated": false,
    "time": 1405039215559
  },
  {
    "filename": "/usrdata/web/accord/test/fixtures/jade/basic.jade",
    "engineName": "jade",
    "method": "render",
    "duration": 0.007467599,
    "deps": [ ],
    "isolated": false,
    "time": 1405039215630
  },
...
realyze commented 10 years ago

+1