Closed ThaDaVos closed 4 years ago
For other people ending up here (probably because of the notification on the other issues), please submit the following as I would like to gather stats about the projects and maybe we can find something in common:
Development setup:
OS (for example: Windows 10 with WSL 2 running Ubuntu 16.04)Development setup:
VSCode VersionDevelopment setup:
Vetur VersionDevelopment setup:
VSCode installed extensions (See: https://stackoverflow.com/questions/35773299/how-can-you-export-the-visual-studio-code-extension-list)Project setup:
Frameworks? (for example: Laravel 6.x with Laravel Mix 5.0.4, using VueJs 2.6.11)Project setup:
Installed dependeciesProject setup:
Installed dev-dependeciesProject setup:
Base layout of folder, where are you .vue files? (For example, {ROOT}/resources/js/components
)PS: Please only post informational comments, not stuff like: "I've got this issue too" or "+1" Please use the emoticon button below this comment for that: 👍
Development Setup:
Windows 10, using WSL 2 running Ubuntu 18.04.4 LTSDevelopment Setup:
VsCode 1.46.0Development Setup:
Vetur 0.24.0Development Setup:
Extension list: https://termbin.com/mrq2Project Setup:
Laravel 6.x with Laravel Mix 5.0.4, using VueJs 2.6.11Project Setup:
Installed dependecies, see #package.jsonProject Setup:
Installed dev-dependecies, see #package.jsonProject Setup:
Project layout is a mono-repo with two VueJs + Laravel projects in there, both have the same structure from the root on: {ROOT}/{PROJECT}/resources/components/*
When:
Happens after invoking a format on a .vue fileLog:
https://pastebin.com/erC5DjY9PS: below trees are from the projects root folder so: {ROOT}/{PROJECT}
VS Code is opened from the {ROOT}
folder but the issue also happens when opened from the {ROOT}/{PROJECT}
folder
package.json: https://termbin.com/rvuty tree: https://termbin.com/0429
package.json: https://termbin.com/0ttd tree: https://termbin.com/ev7h
Same problem here, previously I could fix it temporaly restarting vscode, but now it's crashing when starting. I have looked many trends of this, but not found a solution yet.
Related: #1348
Reproducible example: run this in WSL2 (Ubuntu 20.04). Always does it for me.
Development setup
: OS (for example: Windows_NT x64 10.0.19042 with WSL 2 running Ubuntu 20.04)Development setup
: VSCode Version 1.46.1 (cd9ea6488829f560dc949a8b2fb789f3cdc05f5d, 2020-06-17T21:13:20.174Z)Development setup
: Vetur Version 0.24.0Development setup
: VSCode installed extensions (See: details below)Project setup
: https://github.com/swader/polkadashProject setup
: Installed dependecies and dev deps (see package.json in repo)Project setup
: Components are in src/components, pages are in src/pages. Some plugins and config files in src/.When it happens
: Happens immediately on VS Code start.Merging to #1944 since it contains a profile. If you are still running into this, please try to record a profile. Thanks: https://github.com/vuejs/vetur/blob/master/.github/PERF_ISSUE.md
The Vue Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted.
Version: 1.54.3
Commit: 2b9aebd5354a3629c3aba0a5f5df49f43d6689f8
Date: 2021-03-15T11:00:52.911Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Darwin arm64 20.3.0
and
Version: 1.55.0-insider (Universal)
Commit: d06d2f1d6245ce00b1c36a9cd81a9087d225173e
Date: 2021-03-26T13:57:45.993Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Darwin arm64 20.3.0
The Vue Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted.
Version: 1.54.3 Commit: 2b9aebd5354a3629c3aba0a5f5df49f43d6689f8 Date: 2021-03-15T11:00:52.911Z Electron: 11.3.0 Chrome: 87.0.4280.141 Node.js: 12.18.3 V8: 8.7.220.31-electron.0 OS: Darwin arm64 20.3.0
and
Version: 1.55.0-insider (Universal) Commit: d06d2f1d6245ce00b1c36a9cd81a9087d225173e Date: 2021-03-26T13:57:45.993Z Electron: 11.3.0 Chrome: 87.0.4280.141 Node.js: 12.18.3 V8: 8.7.220.31-electron.0 OS: Darwin arm64 20.3.0
https://github.com/vuejs/vetur/issues/2724#issuecomment-804893788
Info
Problem
Related issues; https://github.com/vuejs/vetur/issues/1348 https://github.com/vuejs/vetur/issues/1713
Why a new issue?
Simple, I cannot produce a reproducable example (which the others are tagged with) as I don't know yet what is causing it, but I've got my local environment set up to work directly with the latest master branch code so I think together we can debug this and figure out an issue as it seems to be a project specific issue (probably something with packages used or something) as it seems to only happen in a few of my projects (Most are Laravel + Vue and only some have issues).
Whats happening:
The Vue Language Server crashes like 30 to 60 seconds after invoking a format of the document. It will spew out the following logs from that moment on: https://pastebin.com/erC5DjY9
Reproducible Case
I cannot reproduce it in the veturpack installation, I'll keep trying, later on I may update the issue if I find what's causing it, until I didn't have any luck