zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
51.05k stars 3.17k forks source link

Failed to install vue language server #4396

Closed shradhanquizizz closed 10 months ago

shradhanquizizz commented 1 year ago

Check for existing issues

Describe the bug / provide steps to reproduce it

The vue language server is not being installed and the logs aren't clear if there is something that I'm missing on my end. I have been using Volar extension on vscode, and Volar pluign in neovim, which works.

image

Environment

System Software Overview:

  System Version: macOS 14.0 (23A344)
  Kernel Version: Darwin 23.0.0
  Boot Volume: Macintosh HD
  Boot Mode: Normal
  Secure Virtual Memory: Enabled
  System Integrity Protection: Enabled
  Time since boot: 1 day, 24 minutes

  Model Name: MacBook Pro
  Model Identifier: MacBookPro18,3
  Model Number: MKGP3HN/A
  Chip: Apple M1 Pro
  Total Number of Cores: 8 (6 performance and 2 efficiency)
  Memory: 16 GB
  System Firmware Version: 10151.1.1
  OS Loader Version: 10151.1.1
  Activation Lock Status: Disabled

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.

2023-10-31T05:36:57 [INFO] ========== starting zed ========== 2023-10-31T05:36:57 [INFO] Opening main db 2023-10-31T05:36:57 [INFO] Opening main db 2023-10-31T05:36:57 [INFO] set status on client 0: Authenticating 2023-10-31T05:36:57 [INFO] set status on client 83902: Connecting 2023-10-31T05:36:57 [INFO] build git repository ".git" 2023-10-31T05:36:57 [INFO] Opening main db 2023-10-31T05:36:57 [INFO] set environment variables from shell:/bin/zsh, path:/Users/shradhan/.bun/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/shradhan/Library/Python/3.9/bin:/Users/shradhan/go/bin:/Library/Java/Maven/apache-maven-3.8.6/bin:/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home/bin:/Users/shradhan/Library/pnpm:/Users/shradhan/.nvm/versions/node/v20.5.0/bin:/Users/shradhan/bin:/Users/shradhan/.local/bin:/Users/shradhan/.cargo/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/opt/local/sbin:/opt/local/bin:/usr/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/go/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/shradhan/.cache/zsh4humans/v5/fzf/bin:/Users/shradhan/Documents/Projects/quizizz-frontend/scripts:/Users/shradhan/.fig/bin 2023-10-31T05:36:58 [INFO] reload git repository ".git" 2023-10-31T05:36:59 [INFO] reload git repository ".git" 2023-10-31T05:36:59 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc 2023-10-31T05:37:00 [INFO] set status on client 83902: UpgradeRequired 2023-10-31T05:37:00 [ERROR] crates/zed/src/main.rs:281: upgrade required 2023-10-31T05:37:21 [INFO] downloaded update. path:"/var/folders/4f/y_d8_d4d0s57qh0n6kr0jy0r0000gn/T/zed-auto-update.PY7XncmaNODN/Zed.dmg" 2023-10-31T05:40:34 [INFO] ========== starting zed ========== 2023-10-31T05:40:34 [INFO] Opening main db 2023-10-31T05:40:35 [INFO] Opening main db 2023-10-31T05:40:35 [INFO] set status on client 0: Authenticating 2023-10-31T05:40:35 [INFO] set status on client 83902: Connecting 2023-10-31T05:40:35 [INFO] build git repository ".git" 2023-10-31T05:40:35 [INFO] Opening main db 2023-10-31T05:40:35 [INFO] set environment variables from shell:/bin/zsh, path:/Users/shradhan/.bun/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/shradhan/Library/Python/3.9/bin:/Users/shradhan/go/bin:/Library/Java/Maven/apache-maven-3.8.6/bin:/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home/bin:/Users/shradhan/bin:/Users/shradhan/.bun/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/shradhan/Library/Python/3.9/bin:/Users/shradhan/go/bin:/Library/Java/Maven/apache-maven-3.8.6/bin:/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home/bin:/Users/shradhan/Library/pnpm:/Users/shradhan/.nvm/versions/node/v20.5.0/bin:/Users/shradhan/.local/bin:/Users/shradhan/.cargo/bin:/opt/local/sbin:/opt/local/bin:/usr/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/go/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/shradhan/.cache/zsh4humans/v5/fzf/bin:/Users/shradhan/Documents/Projects/quizizz-frontend/scripts:/Users/shradhan/.fig/bin:/Users/shradhan/Documents/Projects/quizizz-frontend/scripts 2023-10-31T05:40:35 [INFO] reload git repository ".git" 2023-10-31T05:40:36 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc 2023-10-31T05:40:36 [INFO] reload git repository ".git" 2023-10-31T05:40:37 [INFO] add connection to peer 2023-10-31T05:40:37 [INFO] waiting for server hello 2023-10-31T05:40:37 [INFO] got server hello 2023-10-31T05:40:37 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 232, id: 204534 }) 2023-10-31T05:40:37 [INFO] set status on client 83902: Connected { peer_id: PeerId { owner_id: 232, id: 204534 }, connection_id: ConnectionId { owner_id: 0, id: 0 } } 2023-10-31T05:41:03 [INFO] Opening main db 2023-10-31T05:41:03 [INFO] starting language server "vue-language-server", path: "/Users/shradhan/Documents/Projects/quizizz-frontend/frontend", id: 1 2023-10-31T05:41:03 [INFO] Node runtime install_if_needed 2023-10-31T05:41:08 [INFO] Node runtime install_if_needed 2023-10-31T05:41:11 [INFO] Node runtime install_if_needed 2023-10-31T05:41:26 [ERROR] crates/zed/src/languages/vue.rs:219: no cached binary 2023-10-31T05:41:26 [ERROR] crates/language/src/language.rs:974: @vue/language-server package installation failed 2023-10-31T05:59:44 [ERROR] crates/terminal_view/src/terminal_view.rs:365: window was removed 2023-10-31T05:59:45 [INFO] reload git repository ".git" 2023-10-31T05:59:46 [INFO] reload git repository ".git" 2023-10-31T05:59:46 [INFO] reload git repository ".git" 2023-10-31T05:59:47 [INFO] reload git repository ".git" 2023-10-31T05:59:47 [INFO] reload git repository ".git" 2023-10-31T05:59:48 [INFO] reload git repository ".git" 2023-10-31T05:59:48 [ERROR] crates/terminal_view/src/terminal_view.rs:365: window was removed 2023-10-31T05:59:49 [ERROR] crates/terminal_view/src/terminal_view.rs:365: window was removed 2023-10-31T05:59:52 [ERROR] crates/terminal_view/src/terminal_view.rs:365: window was removed 2023-10-31T06:00:32 [ERROR] crates/semantic_index/src/semantic_index.rs:80: user is not authenticated 2023-10-31T06:00:42 [INFO] ========== starting zed ========== 2023-10-31T06:00:42 [INFO] Opening main db 2023-10-31T06:00:43 [INFO] Opening main db 2023-10-31T06:00:43 [INFO] set status on client 0: Authenticating 2023-10-31T06:00:43 [INFO] set status on client 83902: Connecting 2023-10-31T06:00:43 [INFO] build git repository ".git" 2023-10-31T06:00:43 [INFO] Opening main db 2023-10-31T06:00:43 [INFO] starting language server "vue-language-server", path: "/Users/shradhan/Documents/Projects/quizizz-frontend/frontend", id: 1 2023-10-31T06:00:43 [ERROR] crates/workspace/src/persistence/model.rs:260: No path stored for this editor 2023-10-31T06:00:43 [INFO] set environment variables from shell:/bin/zsh, path:/Users/shradhan/.bun/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/shradhan/Library/Python/3.9/bin:/Users/shradhan/go/bin:/Library/Java/Maven/apache-maven-3.8.6/bin:/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home/bin:/Users/shradhan/Library/pnpm:/Users/shradhan/.nvm/versions/node/v20.5.0/bin:/Users/shradhan/bin:/Users/shradhan/.local/bin:/Users/shradhan/.cargo/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/opt/local/sbin:/opt/local/bin:/usr/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/go/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/shradhan/.cache/zsh4humans/v5/fzf/bin:/Users/shradhan/Documents/Projects/quizizz-frontend/scripts:/Users/shradhan/.fig/bin 2023-10-31T06:00:43 [INFO] Node runtime install_if_needed 2023-10-31T06:00:44 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc 2023-10-31T06:00:45 [INFO] add connection to peer 2023-10-31T06:00:45 [INFO] waiting for server hello 2023-10-31T06:00:45 [INFO] got server hello 2023-10-31T06:00:45 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 232, id: 205219 }) 2023-10-31T06:00:45 [INFO] set status on client 83902: Connected { peer_id: PeerId { owner_id: 232, id: 205219 }, connection_id: ConnectionId { owner_id: 0, id: 0 } } 2023-10-31T06:00:46 [INFO] Node runtime install_if_needed 2023-10-31T06:00:48 [INFO] Node runtime install_if_needed 2023-10-31T06:00:50 [ERROR] crates/zed/src/languages/vue.rs:219: no cached binary 2023-10-31T06:00:50 [ERROR] crates/language/src/language.rs:974: @vue/language-server package installation failed 2023-10-31T06:00:56 [INFO] Opening main db 2023-10-31T06:00:56 [INFO] reload git repository ".git" 2023-10-31T06:00:57 [INFO] reload git repository ".git" 2023-10-31T06:00:58 [ERROR] crates/terminal_view/src/terminal_view.rs:365: window was removed 2023-10-31T06:00:59 [INFO] reload git repository ".git" 2023-10-31T06:01:00 [INFO] reload git repository ".git" 2023-10-31T06:01:26 [ERROR] unexpected item event after pane was dropped 2023-10-31T06:03:33 [INFO] reload git repository ".git" 2023-10-31T06:03:35 [ERROR] crates/terminal_view/src/terminal_view.rs:365: window was removed 2023-10-31T06:03:56 [INFO] open paths ["/Users/shradhan/.config/zed/settings.json"] 2023-10-31T06:03:57 [INFO] starting language server "json-language-server", path: "/Users/shradhan/.config/zed/settings.json", id: 2 2023-10-31T06:03:57 [INFO] Node runtime install_if_needed 2023-10-31T06:03:57 [INFO] Node runtime install_if_needed 2023-10-31T06:03:58 [INFO] Fetching default prettier and plugins: [("prettier", "3.0.3")] 2023-10-31T06:03:58 [INFO] Node runtime install_if_needed 2023-10-31T06:03:58 [INFO] Node runtime install_if_needed 2023-10-31T06:03:58 [ERROR] unexpected item event after pane was dropped 2023-10-31T06:04:00 [INFO] open paths ["/Users/shradhan/.config/zed/settings.json"] 2023-10-31T06:04:01 [INFO] Found prettier in "/Users/shradhan/Library/Application Support/Zed/prettier", starting. 2023-10-31T06:04:01 [INFO] Node runtime install_if_needed 2023-10-31T06:04:01 [ERROR] invalid LSP message header "" 2023-10-31T06:04:01 [ERROR] Broken pipe (os error 32) 2023-10-31T06:04:01 [ERROR] server shut down 2023-10-31T06:04:04 [ERROR] unexpected item event after pane was dropped 2023-10-31T06:04:04 [ERROR] crates/project/src/project.rs:2938: no worktree found for diagnostics path "/Users/shradhan/.config/zed/settings.json" 2023-10-31T06:04:40 [ERROR] oneshot canceled 2023-10-31T06:04:43 [INFO] ========== starting zed ========== 2023-10-31T06:04:43 [INFO] Opening main db 2023-10-31T06:04:43 [INFO] Opening main db 2023-10-31T06:04:43 [INFO] set status on client 0: Authenticating 2023-10-31T06:04:43 [INFO] set status on client 83902: Connecting 2023-10-31T06:04:43 [INFO] Opening main db 2023-10-31T06:04:43 [INFO] build git repository ".git" 2023-10-31T06:04:43 [INFO] starting language server "vue-language-server", path: "/Users/shradhan/Documents/Projects/quizizz-frontend/frontend", id: 1 2023-10-31T06:04:44 [INFO] set environment variables from shell:/bin/zsh, path:/Users/shradhan/.bun/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/shradhan/Library/Python/3.9/bin:/Users/shradhan/go/bin:/Library/Java/Maven/apache-maven-3.8.6/bin:/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home/bin:/Users/shradhan/Library/pnpm:/Users/shradhan/.nvm/versions/node/v20.5.0/bin:/Users/shradhan/bin:/Users/shradhan/.local/bin:/Users/shradhan/.cargo/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/opt/local/sbin:/opt/local/bin:/usr/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/usr/local/go/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/shradhan/.cache/zsh4humans/v5/fzf/bin:/Users/shradhan/Documents/Projects/quizizz-frontend/scripts:/Users/shradhan/.fig/bin 2023-10-31T06:04:44 [INFO] Node runtime install_if_needed 2023-10-31T06:04:44 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc 2023-10-31T06:04:45 [INFO] add connection to peer 2023-10-31T06:04:45 [INFO] waiting for server hello 2023-10-31T06:04:45 [INFO] got server hello 2023-10-31T06:04:45 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 232, id: 205364 }) 2023-10-31T06:04:45 [INFO] set status on client 83902: Connected { peer_id: PeerId { owner_id: 232, id: 205364 }, connection_id: ConnectionId { owner_id: 0, id: 0 } } 2023-10-31T06:04:46 [INFO] Node runtime install_if_needed 2023-10-31T06:04:47 [INFO] Node runtime install_if_needed 2023-10-31T06:04:49 [ERROR] crates/zed/src/languages/vue.rs:219: no cached binary 2023-10-31T06:04:49 [ERROR] crates/language/src/language.rs:974: @vue/language-server package installation failed ^C

osiewicz commented 1 year ago

Hey, I am sorry that you're running into issues with the Vue language server integration; the next Preview release (releasing tomorrow, 01.11.2023) should improve the logging around LSP installation failures. Can you give it a try then and share the new logs with us?

hungify2022 commented 1 year ago

After upgrading to Zed version 0.110.2, the issue was resolved. Many thanks.