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

'navbar' request failed with error #10994

Closed
normalser opened this issue Sep 19, 2016 · 6 comments
Closed

'navbar' request failed with error #10994

normalser opened this issue Sep 19, 2016 · 6 comments
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@normalser
Copy link

TypeScript Version: Version 2.1.0-dev.20160919

[Info  - 1:49:06 PM] Using tsserver from location: /Users/.../.nvm/versions/node/v4.2.2/lib/node_modules/typescript/lib/tsserver.js
[Error - 1:49:09 PM] 'navbar' request failed with error.
Error processing request. Cannot read property 'length' of undefined
TypeError: Cannot read property 'length' of undefined
    at addChildrenRecursively (/Users/.../.nvm/versions/node/v4.2.2/lib/node_modules/typescript/lib/tsserver.js:54261:77)
    at rootNavigationBarNode (/Users/.../.nvm/versions/node/v4.2.2/lib/node_modules/typescript/lib/tsserver.js:54124:17)
    at Object.getNavigationBarItems (/Users/.../.nvm/versions/node/v4.2.2/lib/node_modules/typescript/lib/tsserver.js:54096:47)
    at Object.getNavigationBarItems (/Users/.../.nvm/versions/node/v4.2.2/lib/node_modules/typescript/lib/tsserver.js:59788:37)
    at IOSession.Session.getNavigationBarItems (/Users/.../.nvm/versions/node/v4.2.2/lib/node_modules/typescript/lib/tsserver.js:61009:61)
    at Session.handlers.ts.createMap._a.(anonymous function) (/Users/.../.nvm/versions/node/v4.2.2/lib/node_modules/typescript/lib/tsserver.js:60305:50)
    at IOSession.Session.executeCommand (/Users/.../.nvm/versions/node/v4.2.2/lib/node_modules/typescript/lib/tsserver.js:61137:28)
    at IOSession.Session.onMessage (/Users/.../.nvm/versions/node/v4.2.2/lib/node_modules/typescript/lib/tsserver.js:61154:35)
    at Interface.<anonymous> (/Users/.../.nvm/versions/node/v4.2.2/lib/node_modules/typescript/lib/tsserver.js:63343:27)
    at emitOne (events.js:96:13)

Works with Version 2.1.0-dev.20160915 stopped working in Version 2.1.0-dev.20160916

@normalser
Copy link
Author

Repro seems to be as easy as:

/**
 * Test
 */
export const Test = {

}

@mhegazy mhegazy added the Bug A bug in TypeScript label Sep 19, 2016
@mhegazy mhegazy added this to the TypeScript 2.1 milestone Sep 19, 2016
@mhegazy mhegazy assigned ghost Sep 19, 2016
@mhegazy
Copy link
Contributor

mhegazy commented Sep 19, 2016

@andy-ms can you take a look.

@ghost ghost closed this as completed in #10995 Sep 19, 2016
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label Sep 19, 2016
@mhegazy
Copy link
Contributor

mhegazy commented Sep 19, 2016

@wallverb can you give typescript@next a try later tonight.

@normalser
Copy link
Author

@mhegazy What time are new next versions published to npm usually ? I am still at Version 2.1.0-dev.20160919

@mhegazy
Copy link
Contributor

mhegazy commented Sep 20, 2016

looks like the publish task had issues today. it should be published at midnight tonight under 2.0.1-dev20160921. sorry for the delay.

@normalser
Copy link
Author

Thanks, got 20160920 - and all is good - fixed

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

2 participants