8000 SyntaxError: Unexpected end of input · Issue #63 · piuccio/sublime-esformatter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

SyntaxError: Unexpected end of input #63

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

Open
unlight opened this issue Feb 16, 2016 · 4 comments
Open

SyntaxError: Unexpected end of input #63

unlight opened this issue Feb 16, 2016 · 4 comments

Comments

@unlight
Copy link
unlight commented Feb 16, 2016

v1.6.5, node v5.3.0, win8-64, sublime3

My javascript is valid.
When trying to format sublime throws:

SyntaxError: Unexpected end of input
    at Object.parse (native)
    at D:\Progs\Sublime-Text-3\Data\Packages\EsFormatter\lib\esformatter.js:22131:20
    at Object.<anonymous> (D:\Progs\Sublime-Text-3\Data\Packages\EsFormatter\lib\esformatter.js:22160:3)
    at Module._compile (module.js:398:26)
    at Object.Module._extensions..js (module.js:405:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Function.Module.runMain (module.js:430:10)
    at startup (node.js:141:18)
    at node.js:980:3
@piuccio
Copy link
Owner
piuccio commented Feb 16, 2016

how big is the file?

@unlight
Copy link
Author
unlight commented Feb 16, 2016

It happens with any file.
~ 17 Lines, 805 chars

@leobalter
Copy link
Contributor

It seems this error is happening while parsing the config settings in JSON.

you might need to double check it.

@unlight
Copy link
Author
unlight commented Feb 16, 2016

I will check.
But it was clean install, I didn't do anything with settings.

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

3 participants
0