Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global name 'errno' is not defined #352

Closed
enorniel opened this issue Nov 8, 2013 · 1 comment
Closed

global name 'errno' is not defined #352

enorniel opened this issue Nov 8, 2013 · 1 comment

Comments

@enorniel
Copy link

enorniel commented Nov 8, 2013

I installed js-beautify with pip.

When I try to redirect stdout to a file I have this error:

 global name 'errno' is not defined

and nothing happens.

I used:

 js-beautify --outfile=beautified-file.js file-to-beautify.js
 js-beautify -o beautified-file.js file-to-beautify.js
@bitwiseman
Copy link
Member

What version of python are you using? I believe this is fixed by #349 and is specific to Python 2.7.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants