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

After I update 0.6.1 version and submit them to the following error #144

Closed
musishui opened this issue Apr 24, 2017 · 8 comments
Closed

Comments

@musishui
Copy link

C:\Users\Jusfoun.vscode\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:10566
throw new Error("start < 0");
^

Error: start < 0
at createTextSpan (C:\Users\Jusfoun.vscode\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:10566:19)
at Object.createTextSpanFromBounds (C:\Users\Jusfoun.vscode\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:10575:16)
at getErrorSpanForNode (C:\Users\Jusfoun.vscode\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:7075:19)
at createDiagnosticForNodeInSourceFile (C:\Users\Jusfoun.vscode\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:6999:20)
at Object.createDiagnosticForNode (C:\Users\Jusfoun.vscode\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:6995:16)
at C:\Users\Jusfoun.vscode\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:21582:58
at Object.forEach (C:\Users\Jusfoun.vscode\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:1423:30)
at declareSymbol (C:\Users\Jusfoun.vscode\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:21581:28)
at declareModuleMember (C:\Users\Jusfoun.vscode\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:21600:28)
at declareSourceFileMember (C:\Users\Jusfoun.vscode\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:22646:19)
at declareSymbolAndAddToSymbolTableWorker (C:\Users\Jusfoun.vscode\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:22596:28)
[Info - 上午9:37:04] Connection to server got closed. Server will restart.
C:\Users\Jusfoun.vscode\extensions\octref.vetur-0.6.1\client\server\node_modules\typescript\lib\typescript.js:10566
throw new Error("start < 0");

@yulin724
Copy link

mee too

@aherreraGH
Copy link

ditto... just updated today and the stacktrace is the same as provided above.

@rhyek
Copy link

rhyek commented Apr 24, 2017

Same.

@lucastheisen
Copy link

This is related to #136, so we need to come up with steps to reproduce... I'll give it a try...

@aherreraGH
Copy link

aherreraGH commented Apr 24, 2017

looks like it was resolved in #128 something about importing vue twice.
edit: sorry, not resolved, but it looks like they found the culprit.

@octref
Copy link
Member

octref commented Apr 25, 2017

Dup of #128.

Can you try installing 0.6.2 and see if the problem is gone?

@musishui
Copy link
Author

musishui commented Apr 25, 2017

@aherreraGH Thanks.

According to what you say, my problem is resolved.I'm in .vue file reference Vue module, led to this error. I deleted the " import Vue from 'Vue' " error disappears

@octref
Copy link
Member

octref commented Apr 25, 2017

Can you try 0.6.2 with import Vue from 'Vue'? This should be supported with 0.6.2.

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

No branches or pull requests

6 participants