brackets-userland / brackets-eslint

Adds ESLint support to Brackets
MIT License
43 stars 15 forks source link

Can't install through brackets-npm-registry #42

Closed entepe85 closed 8 years ago

entepe85 commented 8 years ago

Using Brackets 1.7 (w/ Extract) on OSX 10.11.6 I get the following error upon installation of ESLint through brackets-npm-registry:

ERROR: "Error: spawn ENOENT\n at errnoException (child_process.js:980:11)\n at Process.ChildProcess._handle.onexit (child_process.js:771:34)"

entepe85 commented 8 years ago

Both uninstalling and reinstalling the extension and restarting Brackets unfortunately didn't fix the issue.

zaggino commented 8 years ago

@entepe85 you can try manual installation, follow the steps here: https://github.com/zaggino/brackets-npm-registry#how-to-install-brackets-npm-registry but replace all occurences of brackets-npm-registry for brackets-eslint Let me know if that worked for you.

zaggino commented 8 years ago
cd ~/Library/Application\ Support/Brackets/extensions/user/
git clone https://github.com/zaggino/brackets-eslint brackets-eslint
cd brackets-eslint
npm install
entepe85 commented 8 years ago

Yeah, that fixed it. Seems like stupid me didn't think of the manual installation.

One thing I noticed, though: When I first tried updating brackets-eslint through the npm-registry GUI, the command typings install threw an error, so I globally installed the typings package.

zaggino commented 8 years ago

That error with typings should be now fixed with version 2.9.5