Coder Social home page Coder Social logo

Comments (7)

paulocmoreno avatar paulocmoreno commented on August 18, 2024

Error message:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/JSLintMate-1.1.tmbundle/Support/lib/jslintmate.rb:65:in dup': can't dup NilClass (TypeError) from /Applications/TextMate.app/Contents/SharedSupport/Bundles/JSLintMate-1.1.tmbundle/Support/lib/jslintmate.rb:65:inbundle_path'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/JSLintMate-1.1.tmbundle/Support/lib/jslintmate.rb:60:in lib_path' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/JSLintMate-1.1.tmbundle/Support/lib/jslintmate/linter.rb:40:ininitialize'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/JSLintMate-1.1.tmbundle/Support/lib/jslintmate.rb:118:in `new'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/JSLintMate-1.1.tmbundle/Support/lib/jslintmate.rb:118

from jslintmate.

rondevera avatar rondevera commented on August 18, 2024

Thanks Paulo! TextMate 2 support is the top priority for JSLintMate 1.3.

from jslintmate.

rondevera avatar rondevera commented on August 18, 2024

Hey Paulo,

I'm investigating this at the moment -- JSLintMate seems to work smoothly in TextMate 2 when installed in the recommended location, ~/Library/Application Support/Avian/Pristine Copy/Bundles/. Have you tried installing the bundle there manually?

Cheers,
Ron

from jslintmate.

rondevera avatar rondevera commented on August 18, 2024

Digging further, I'm getting a different error when testing against a different codebase:

Could not open file: ./Support/lib/jsc.js
/Users/ron/Library/Application Support/Avian/Pristine Copy/Bundles/JavaScript JSLintMate.tmbundle/Support/lib/jslintmate.rb:46:in `read': No such file or directory - ./VERSION (Errno::ENOENT)
    from /Users/ron/Library/Application Support/Avian/Pristine Copy/Bundles/JavaScript JSLintMate.tmbundle/Support/lib/jslintmate.rb:46:in `version'
    from /Users/ron/Library/Application Support/Avian/Pristine Copy/Bundles/JavaScript JSLintMate.tmbundle/Support/lib/jslintmate.rb:133:in `link_to_website'
    from /Users/ron/Library/Application Support/Avian/Pristine Copy/Bundles/JavaScript JSLintMate.tmbundle/Support/lib/jslintmate/linter.rb:168:in `get_html_output'
    from /Users/ron/Library/Application Support/Avian/Pristine Copy/Bundles/JavaScript JSLintMate.tmbundle/Support/lib/jslintmate.rb:191

This isn't the same error as originally reported, but it shows that there's work to be done. I'm currently testing against TextMate 2.0 (8956).

from jslintmate.

rondevera avatar rondevera commented on August 18, 2024

TextMate 2 seems to have removed the $TM_BUNDLE_PATH environment variable, so I've made a small change so that JSLintMate uses $TM_BUNDLE_SUPPORT + .. instead.

Further progress that's specific to TextMate 2 will be done in the textmate2 branch.

Cheers,
Ron

from jslintmate.

paulocmoreno avatar paulocmoreno commented on August 18, 2024

@rondevera, I found the information about the new bundle install directory after I created my issue. I move the bundle to this directory, but the problem persists.

I tested your change in their branch textmate2 and it worked perfectly. Thanks!

from jslintmate.

rondevera avatar rondevera commented on August 18, 2024

TextMate 2 is now officially supported as of JSLintMate 1.3.

from jslintmate.

Related Issues (20)

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.