Comments (13)
I get a similar error on:
Windows 7 SP1 Enterprise 64-bit
Brackets 1.3 - Release 1.3 build 1.3.0-16022 (release cd0a6aae5)
JSCS 0.6.3
Error:
[NodeDomain] Error loading domain "globexdesigns.brackets-jscs": Unable to load one of the modules: C:/Users/username/AppData/Roaming/Brackets/extensions/user/globexdesigns.brackets-jscs/domain, reason: Cannot find module 'jscs'
from brackets-jscs.
@mitorez The newest version of the extensions requires that you have node.js and jscs installed as a global npm package. Make sure you check out the Installation instructions in the README: https://github.com/globexdesigns/brackets-jscs#installation
from brackets-jscs.
@globexdesigns Thanks for the info. I must have misread the commit comment below, b/c it sounded like JSCS was now bundled in the extension. I'll install JSCS via node.
Fixes #23. JSCS is now bundled with the extension as loading it from global modules doesn't seem to work reliably.
from brackets-jscs.
When locally installed it works on and off and I am seeing
JSCS has timed out after waiting for 10000 ms
Not sure if its related.
from brackets-jscs.
@mitorez I'm trying to find a way to not bundle JSCS with the extension. There are a couple benefits to this:
- Users can run their own versions of JSCS (allowing them to upgrade at their pace and sync up with their projects)
- Users don't need to wait for me to release extension update to use the latest JSCS build
However, for some reasons, not all users are able to use the global JSCS modules for some reason. It seems to work for most, but not 100%.
Let me know if the global module still doesn't work for you.
@jdelibas This can occur if you have a very large file with many errors or if your file system is slow for some reason. Sometimes, re-saving the file will make it go through. This is Brackets feature to prevent linters from taking too long to run.
from brackets-jscs.
I pushed a new 0.6.4 version. Can you give that a try?
from brackets-jscs.
@globexdesigns My company proxy blocks npm and I haven't had a chance to install JSCS from home yet, so I haven't tested this change - I'll try to install JSCS tonight and test tomorrow. Would you be open to a separate enhance request to include and load JSCS from within your extension if JSCS is not found globally? I'm ok with your extension not always running the latest version of JSCS, since getting JSCS installed via node is currently a pain for me at work.
from brackets-jscs.
@mitorez Yes. I've been discussing it with the Brackets team and they recommend building in a feature where the user selects the path to the JSCS module you want to use. With the choices being (global, local project, or whatever is bundled with the brackets-jscs extension). Such a feature might take a bit of time to build though.
from brackets-jscs.
@globexdesigns I installed JSCS globally via npm last night and your extension (v0.6.4) is working fine - it no longer writes a 'timeout' message to the code analysis console, it correctly loads the current JSCS errors for the scanned page. Thanks! Though I see you're now bundling JSCS again with v0.6.5.
from brackets-jscs.
Yeah... I'm giving up the idea of using the global packages. It never seems to work reliable for everyone despite my best efforts.
from brackets-jscs.
I'm on a fresh install of everything and I'm getting the message:
JSCS has timed out after waiting for 10000 ms
I've installed JSCS globally first, then the extension but can't get it to work.
Brackets 1.6
JSCS 3.0.3
from brackets-jscs.
I'm having the same issue. I'm using Windows 10 and same versions as phil above.
Edit: Similar issue in Gulp, version 3 doesn't do anything inside a gulp task but version 2 works just fine.
from brackets-jscs.
Sorry guys. I think I'm going to have to drop support for this extension very soon.
- The JSCS and ESLint teams have decided to merge JSCS into ESLint, so it's best that you start migrating your rules to ESLint and the excellent bracket-eslint extension
- I'm not actively using Brackets anymore
If you want to try and take a look yourself and submit a PR I'd be more than happy to review and merge it in.
from brackets-jscs.
Related Issues (20)
- Upgrade to newest JSCS version
- After upgrading to 0.6.0 I get a JSCS processing error HOT 24
- Unexpectedly stop the node server HOT 2
- JSCS timing out HOT 8
- Plugin breaks when JSCS is used with plugin HOT 1
- The JSCS 2.0 does not use esprima anymore HOT 1
- How to upgrade to JSCS 2.0.0 ? HOT 6
- Configuration file path HOT 1
- Feature request: Add JSCS formatting HOT 1
- Ignored rule: One space required after opening bracket. HOT 5
- Support JSCS v2.2.1 HOT 2
- I'm getting: Unexpected JSCS processing error: Unable to load one of the modules * reason: Cannot find module 'color' HOT 4
- error after latest update: HOT 4
- JSCS issue "Unexpected JSCS processing error: timeout" HOT 2
- Support for the fix parameter HOT 3
- Using multiple brackets windows broke the extension HOT 5
- update to use JSCS 3 HOT 4
- Is there a way to invoke jscs auto fix as part of "save" of a file? HOT 1
- Not clear install instruction HOT 1
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 brackets-jscs.