-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
Server crash on 0.6.1 var symbol = container.locals.get(node.text);
#127
Comments
Can you help me finding a repro? Try it on some public vue projects like https://github.com/vuejs/vue-hackernews-2.0 or https://github.com/vuejs-templates/webpack and see if the server crashes? If not, can you try to put some code from your codebase to a template project and manage to crash vetur's Language Server? This is what @The-Smallest did and was extremely helpful for me to fix the previous crash: |
It crashes for me to:
I tried downloading the repo https://github.com/vuejs/vue-hackernews-2.0 and that doesn't crash. I tried doeing what The-Smallest did with a new webpack-simple template and a bad import and that doesn't crash it. Here is a repo with my project that crashes, https://github.com/MWallin/WonderfulQuotes Hope this helps! |
Okay, I've done some more digging on this now and I think that the problem isn't really with vetur or the vue language server exactly. The project I'm working on is part of an online course and the package.json file I use is part of an assignement from the course. The content was ass follows:
I thought it funny that a new project worked so I updated with the following:
And blam, no more crashing. Don't really know why, just that it works now... |
same. and i use the lastest version of all dependencies, but server still crash. |
I get a crash, unfortunately no logging...after some minutes, vsc gets up to 700MB RAM and 40% processor for some time on a i5 8gb RAM machine, then get a message about the extension host terminating and needing to reload the window. I don't see any logs or anything. |
@MWallin Your project: https://github.com/MWallin/WonderfulQuotes doesn't crash for me though. |
var symbol = container.locals.get(node.text);
Can you try if this works for you? Instruction: https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix |
@octref I updated the devDependencies for the project I linked to, WonderfulQuotes, by accident so it doesn't crash anymore for me either. Sorry for that! However I have another project that crashes the same way here https://github.com/MWallin/ColorComponents. I tried 0.6.2 and no change, it still crashes. |
Can you upgrade to 0.6.2 (published in marketplace) and see if that fixes the problem for you? |
Sorry, no luck with the upgrade. I even reinstalled the extension to make sure I got the right 0.6.2 update. This is the error message now:
|
@MWallin Do you mind trying 0.6.3 on ColorComponents? There is a fix including This seems dubious: WonderfulQuotes
ColorComponents
|
There are fix for both |
Sorry for the absence. I just tried the latest version, 0.6.4, with color components and no luck, the language server crashes again.
Something is definetly not working right. But since it depends on the project I don't think its that big of a deal? |
@MWallin i'm also getting the same error |
The text was updated successfully, but these errors were encountered: