vetur: Server crash on 0.6.1 `var symbol = container.locals.get(node.text);`

[Error - 8:21:07 PM] Request textDocument/completion failed.
  Message: Request textDocument/completion failed with message: Cannot read property 'get' of undefined
  Code: -32603 
C:\Users\H195849\.vscode-insiders\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:23318
                var symbol = container.locals.get(node.text);
                                             ^

TypeError: Cannot read property 'get' of undefined
    at isNameOfExportsOrModuleExportsAliasDeclaration (C:\Users\H195849\.vscode-insiders\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:23318:46)
    at bindStaticPropertyAssignment (C:\Users\H195849\.vscode-insiders\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:23396:17)
    at bindWorker (C:\Users\H195849\.vscode-insiders\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:23079:29)
    at bind (C:\Users\H195849\.vscode-insiders\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:22974:13)
    at visitNode (C:\Users\H195849\.vscode-insiders\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:14662:20)
    at Object.forEachChild (C:\Users\H195849\.vscode-insiders\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:14725:21)
    at bindEachChild (C:\Users\H195849\.vscode-insiders\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:21771:16)
    at bindChildrenWorker (C:\Users\H195849\.vscode-insiders\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:21852:21)
    at bindChildren (C:\Users\H195849\.vscode-insiders\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:21746:17)
    at bind (C:\Users\H195849\.vscode-insiders\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:22985:21)

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 16 (7 by maintainers)

Commits related to this issue

Most upvoted comments

same. and i use the lastest version of all dependencies, but server still crash. and strangely enough, the error does not happen immediately when the ide startup, but crash after a few minutes