DefinitelyTyped / tsd

[DEPRECATED] TypeScript Definition manager for DefinitelyTyped
Apache License 2.0
1.12k stars 135 forks source link

SyntaxError: Unexpected end of input #266

Open fabriciolemos opened 8 years ago

fabriciolemos commented 8 years ago

I am having the following error when running tsd install.

It was working properly last week and I do not remember having any environment change. The details are:

[ERR!] os   : Windows_NT 6.1.7601
[ERR!] argv : "c:\\jsdev\\node\\node.exe" "c:\\jsdev\\node\\node_modules\\tsd\\build\\cli.js" "install" "angular"
[ERR!] node : v4.2.2
[ERR!] tsd  : 0.6.5
[ERR!] Error: Unexpected end of input
[ERR!] CODE : undefined
[ERR!] Unexpected end of input
[ERR!] If you need help, you may report this error at:
    https://github.com/DefinitelyTyped/tsd/issues

[ERR!] 
SyntaxError: Unexpected end of input
    at Object.parse (native)
    at c:\jsdev\node\node_modules\tsd\build\http\HTTPCache.js:131:39
    at tryCatch1 (c:\jsdev\node\node_modules\tsd\node_modules\bluebird\js\main\util.js:63:19)
    at Promise$_callHandler [as _callHandler] (c:\jsdev\node\node_modules\tsd\node_modules\bluebird\js\main\promise.js:695:13)
    at Promise$_settlePromiseFromHandler [as _settlePromiseFromHandler] (c:\jsdev\node\node_modules\tsd\node_modules\bluebird\js\main\promise.js:711:18)
    at Promise$_settlePromiseAt [as _settlePromiseAt] (c:\jsdev\node\node_modules\tsd\node_modules\bluebird\js\main\promise.js:868:14)
    at Promise$_settlePromises [as _settlePromises] (c:\jsdev\node\node_modules\tsd\node_modules\bluebird\js\main\promise.js:1006:14)
    at Async$_consumeFunctionBuffer [as _consumeFunctionBuffer] (c:\jsdev\node\node_modules\tsd\node_modules\bluebird\js\main\async.js:74:12)
    at Async$consumeFunctionBuffer (c:\jsdev\node\node_modules\tsd\node_modules\bluebird\js\main\async.js:37:14)
    at doNTCallback0 (node.js:419:9)

[ERR!] tsd.json: {"version":"v4","repo":"borisyankov/DefinitelyTyped","ref":"master","path":"types"}

[ERR!] .tsdrc : {
    "strictSSL": false
}