Giter Site home page Giter Site logo

codeclimate-coffeelint's Issues

error: (CC::Analyzer::Engine::EngineFailure) engine coffeelint failed with status 1 and stderr

When I run codeclimate analyze, with only the coffelint engine enabled I get the following error:

>>>> codeclimate analyze
Starting analysis
Running coffeelint: Done!
error: (CC::Analyzer::Engine::EngineFailure) engine coffeelint failed with status 1 and stderr
path.js:439
      throw new TypeError('Arguments to path.resolve must be strings');
            ^
TypeError: Arguments to path.resolve must be strings
  at Object.posix.resolve (path.js:439:13)
  at Object.realpathSync (fs.js:1325:18)
  at read (/usr/lib/node_modules/coffeelint/lib/commandline.js:60:19)
  at readConfigFile (/usr/lib/node_modules/coffeelint/lib/commandline.js:104:12)
  at loadConfig (/usr/lib/node_modules/coffeelint/lib/commandline.js:116:18)
  at Object.<anonymous> (/usr/lib/node_modules/coffeelint/lib/commandline.js:218:14)
  at Object.<anonymous> (/usr/lib/node_modules/coffeelint/lib/commandline.js:244:4)
  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 Module.require (module.js:365:17)
  at require (module.js:384:17)
  at Object.<anonymous> (/usr/lib/node_modules/coffeelint/bin/coffeelint:34:5)
  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)
  at startup (node.js:129:16)
  at node.js:814:3

/usr/lib/ruby/gems/2.2.0/gems/json-1.8.3/lib/json/common.rb:155:in `initialize': A JSON text must at least contain two octets! (JSON::ParserError)
    from /usr/lib/ruby/gems/2.2.0/gems/json-1.8.3/lib/json/common.rb:155:in `new'
    from /usr/lib/ruby/gems/2.2.0/gems/json-1.8.3/lib/json/common.rb:155:in `parse'
    from /usr/src/app/lib/cc/engine/coffeelint_results.rb:14:in `block in results'
    from /usr/src/app/lib/cc/engine/coffeelint_results.rb:13:in `chdir'
    from /usr/src/app/lib/cc/engine/coffeelint_results.rb:13:in `results'
    from /usr/src/app/lib/cc/engine/coffeelint.rb:50:in `coffeelint_results'
    from /usr/src/app/lib/cc/engine/coffeelint.rb:14:in `run'
    from /usr/src/app/bin/coffeelint:14:in `<main>'

Any idea what might be happening? Thanks!

Warnings from CoffeeLint ignored

Currently warnings from CoffeeLint are ignored (by using the -q parameter). Is this expected behaviour? I would rather like to have the warnings also to be displayed in CodeClimate

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.