Skip to content

Cannot work with coffeelint 1.1.0 #137

Open

Description

@trevorwang

When I update cofffeelint to 1.1.0, the lint feature cannot work.
The coffeelint showed me the following error while I debugged

TypeError: Arguments to path.join must be strings
  at path.js:360:15
  at Array.filter (native)
  at Object.exports.join (path.js:358:36)
  at Object.exports.getConfig (/usr/local/lib/node_modules/coffeelint/lib/configfinder.js:69:32)
  at getFallbackConfig (/usr/local/lib/node_modules/coffeelint/lib/commandline.js:384:27)
  at lintFiles (/usr/local/lib/node_modules/coffeelint/lib/commandline.js:350:38)
  at Object.<anonymous> (/usr/local/lib/node_modules/coffeelint/lib/commandline.js:471:21)
  at Object.<anonymous> (/usr/local/lib/node_modules/coffeelint/lib/commandline.js:476:4)
  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 Module.require (module.js:364:17)
  at require (module.js:380:17)
  at Object.<anonymous> (/usr/local/lib/node_modules/coffeelint/bin/coffeelint:17:5)
  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:902:3

I tried to fix this problem in coffeelint. But AsaAyers said that it was not the perfect solution. And I was recommended to open this issue.
For more details, please see #247:fix env error while invoked by Sublime Text 3's plugin "Better Coffeescript".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions