Comments (11)
Hmm, could this be some regression since #4?
from standard.
It's very possible.
On Wed Feb 18 2015 at 9:39:38 PM Dan Flettre [email protected]
wrote:
Hmm, could this be some regression since #4
#4?—
Reply to this email directly or view it on GitHub
#36 (comment).
from standard.
Running node v0.10.26 and [email protected] on Windows I get the same error above.
Upgrading to the lastest version of node v0.12.0 seems to get around these errors, however a new error is revealed:
Unexpected Linter Output:
Could not find formatter 'C:\Users\flet\AppData\Roaming\npm\node_modules\standard\lib\eslint-reporter-verbose.js'.
It looks like its this eslint
bug which has been fixed but not released to npm: eslint/eslint#1818
@naknode what version of node/npm do you have installed?
node -v
npm -v
from standard.
We probably lost node 0.10.x support when we switched to the npm run
approach of executing eslint
and jscs
. That change was necessary to ensure we always get the correct path to the binary, even when npm does deduping.
Looks like we'll be all good once eslint does a release.
from standard.
I updated my node to node v0.12.0 and it works :)
c:\wamp\www\qtsite\src\js (master)
λ standard
Error: Use JavaScript Standard Style (https://github.com/feross/standard)
demo-page.js:2:2: Expected indentation of 2 characters
main.js:2:4: Expected indentation of 4 characters
main.js:28:34: Expected no padding newline after opening curly brace
main.js:43:0: Expected no padding newline before closing curly brace
main.js:52:2: Expected indentation of 2 characters
Unexpected Linter Output:
Could not find formatter 'C:\Users\Dan\AppData\Roaming\npm\node_modules\standard\lib\eslint-reporter.js'.
from standard.
Excellent, looks like its just waiting for eslint
now to get the other half working~
from standard.
Going to close this now, as the spawn ENOENT
error can be fixed by updating to node 0.12, or better, iojs.
from standard.
eslint
published 0.15 with the necessary windows fix, and we're pulling that in in standard
2.8.0 now.
@naknode Please update to the latest standard
and confirm that that eslint error is gone :)
from standard.
@feross Can confirm it works with no errors. Thanks! Time to use it woo.
from standard.
I'm running iojs v1.4.3 and standard 2.10.0. Got the same error.
D:\Node.js Projects\fanfou-wap-style-enhancer
λ standard
Error: spawn Active code page: 65001
Active code page: 65001
C:\Users\Riophae Lee\AppData\Roaming\NPM\node_modules\standard\node_modules\.bin\jscs.CMD ENOENT
at exports._errnoException (util.js:734:11)
at Process.ChildProcess._handle.onexit (child_process.js:1022:32)
at child_process.js:1114:20
at process._tickCallback (node.js:350:11)
from standard.
I don't have a windows machine to debug this. If a windows user figures this out, please send a PR and we'll merge it.
from standard.
Related Issues (20)
- Fix "promise-function-async" will cause an error
- Formatting code will make it unreadable
- Expanding Rostislav and I's contribution, into core
- TS-Standart Changed My Code and Throwing Error
- Create a tutorial to use Standard together with Husky
- Eslint v9 support HOT 2
- Add a lock file HOT 3
- Could you please paste the result of the `npm ls eslint` command? HOT 1
- Remove the lock-threads workflow
- Comments bring issues/PRs onto the project board HOT 1
- tittle
- space-unary-ops errors on `new Class()` syntax HOT 4
- Maintenance & Governance of standard HOT 47
- Format using a formatter instead of ESLint formatting rules HOT 15
- inline link with @ in Super to have link inline or below not above HOT 1
- Tags isn't exported with Export .md or HTML HOT 1
- Ctrl+Shift+E to open/close tag page isn't working HOT 2
- `standard.lintFiles()` doesn't use `process.cwd()` HOT 5
- RFC: eslint-config-standard-with-typescript to depart from standard HOT 19
- Rule suggestion: no-constant-binary-expression
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 standard.