Skip to content
This repository was archived by the owner on Apr 30, 2019. It is now read-only.

Can't seem to find '_debugger' from DefinitelyTyped #193

Closed
DanielRosenwasser opened this issue Jul 30, 2015 · 4 comments
Closed

Can't seem to find '_debugger' from DefinitelyTyped #193

DanielRosenwasser opened this issue Jul 30, 2015 · 4 comments

Comments

@DanielRosenwasser
Copy link
Member

_debugger.d.ts seems to exist on DefinitelyTyped.

$ tsd install _debugger

>> zero results

$ tsd query _debugger

>> zero results

Similarly, if I do tsd query * I can't find '_debugger'.

@DanielRosenwasser
Copy link
Member Author

Additionally, if I try adding

"_debugger/_debugger.d.ts": {
  "commit": "92ad4a9922ff061ad208eb840bfe66d072d32de4"
}

to my tsd.json along with a tsd update, and got the following:

[1] _debugger/_debugger.d.ts is not allowed
    at root.assert (C:\Users\drosen\AppData\Roaming\npm\node_modules\tsd\node_modules\joi\lib\index.js:121:19)
    at Config.validateJSON (C:\Users\drosen\AppData\Roaming\npm\node_modules\tsd\build\tsd\context\Config.js:158:13)
    at Config.parseJSON (C:\Users\drosen\AppData\Roaming\npm\node_modules\tsd\build\tsd\context\Config.js:131:14)
    at Config.parseJSONString (C:\Users\drosen\AppData\Roaming\npm\node_modules\tsd\build\tsd\context\Config.js:125:14)
    at C:\Users\drosen\AppData\Roaming\npm\node_modules\tsd\build\tsd\logic\ConfigIO.js:44:43
    at tryCatch1 (C:\Users\drosen\AppData\Roaming\npm\node_modules\tsd\node_modules\bluebird\js\main\util.js:63:19)
    at Promise$_callHandler [as _callHandler] (C:\Users\drosen\AppData\Roaming\npm\node_modules\tsd\node_modules\bluebird\js\main\promise.js:695:13)
    at Promise$_settlePromiseFromHandler [as _settlePromiseFromHandler] (C:\Users\drosen\AppData\Roaming\npm\node_modules\tsd\node_modules\bluebird\js\main\promise.js:711:18)
    at Promise$_settlePromiseAt [as _settlePromiseAt] (C:\Users\drosen\AppData\Roaming\npm\node_modules\tsd\node_modules\bluebird\js\main\promise.js:868:14)
    at Promise$_settlePromises [as _settlePromises] (C:\Users\drosen\AppData\Roaming\npm\node_modules\tsd\node_modules\bluebird\js\main\promise.js:1006:14)

I tried fixing the relevant regular expression, but somehow certain tests were failing on me with or without my changes.

@Diullei
Copy link
Member

Diullei commented Aug 29, 2015

Hi @DanielRosenwasser! The tests fail when run on windows. On Linux everything works fine. I'll fix this test problem first and then check this issue. Thank you for reporting!

@Diullei
Copy link
Member

Diullei commented Sep 21, 2015

Hi!

fixed with 0.6.5-beta.2

npm install [email protected]

https://github.com/DefinitelyTyped/tsd/releases/tag/0.6.5-beta.2

@DanielRosenwasser
Copy link
Member Author

Thanks for the fix @Diullei!

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

No branches or pull requests

2 participants