Open boh001 opened 7 months ago
I have same issue
mason: require("mason.health").check()
mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: prepend
- OK Providers:
mason.providers.registry-api
mason.providers.client
- OK neovim version >= 0.7.0
mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2024-01-26-double-boat` is installed.
mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Info-ZIP. Maintained by C. Spieler. Send`
- OK wget: `GNU Wget 1.21.4 built on linux-gnu.`
- OK curl: `curl 8.6.0 (x86_64-pc-linux-gnu) libcurl/8.6.0 OpenSSL/3.2.1 zlib/1.3.1 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.7 libpsl/0.21.2 libssh2/1.11.0 nghttp2/1.59.0 nghttp3/1.1.0`
- OK gzip: `gzip 1.13`
- OK tar: `tar (GNU tar) 1.35`
- OK bash: `GNU bash, version 5.2.26(1)-release (x86_64-pc-linux-gnu)`
- OK sh: `Ok`
Problem description
lm developing in pnpm workspace. As far as I know, libraries like TypeScript that are commonly used when using Monorepo are in the root package.json. Similarly, in my case, Typescript is in the root package.json. so i deleted typescript in astro project's package.json. after that when i opened .astro file, i got the following error.
Why do you think this is an issue with mason-lspconfig.nvim?
when typescript are in astro project's package.json, it works fine
Neovim version (>= 0.7)
NVIM v0.9.4 Build type: Release LuaJIT 2.1.1700008891
Operating system/version
Darwin macstudio.local 22.6.0 Darwin Kernel Version 22.6.0: Tue Nov 7 21:42:24 PST 2023; root:xnu-8796.141.3.702.9~2/RELEASE_ARM64_T6020 arm64
I've manually reviewed the Nvim LPS client log (
:LspLog
) to find potential errorsI've recently downloaded the latest plugin version of mason.nvim, mason-lspconfig.nvim, and nvim-lspconfig
Affected language servers
astro
Steps to reproduce
pnpm create astro
command in pnpm workspaceActual behavior
get the error when open .astro file
Expected behavior
lsp works fine when open .astro file
LspInfo
LspLog
No response
Healthcheck
Screenshots or recordings
No response