Comments (7)
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:in
bundle_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:in
initialize'
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.
Thanks Paulo! TextMate 2 support is the top priority for JSLintMate 1.3.
from jslintmate.
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.
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.
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.
@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.
TextMate 2 is now officially supported as of JSLintMate 1.3.
from jslintmate.
Related Issues (20)
- Failure - env: bash: No such file or directory HOT 2
- predef ignored when has $ prefix HOT 1
- JSHint doesn't seem to recognize the smarttabs flag HOT 4
- Broken on OSX 10.8 HOT 7
- Config option todo does not work together with browser option HOT 2
- Setting options per project HOT 7
- Embedded javascript HOT 2
- Unused variables in callbacks HOT 4
- Unable to install on sublimeText HOT 2
- Save & Run JSLintMate error in Mavericks DP3
- Add Node support
- move to sublime text
- Two issues straight after installation, OSX 10.8.5, TM 1.5.11 (1635)
- undefined method `find' error HOT 10
- support inline jslint config?
- Error in Installing JSLintMate for TextMate in Mavericks HOT 2
- JSLint config unparam not woking
- jshint options -> broken link
- run on unsaved code? HOT 1
- Dosn't work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jslintmate.