Comments (4)
I presume the extension may want to pull from the Workspace's node_modules instead of the IDE installation to match version with the runtime of the Astro dev server? This may point to this being a different bug and the way I found it to just be a coincidence
We support both, you can change the TypeScript version being used using the command palette (much like you can for TypeScript itself). Supporting both is the best thing to do because the workspace might not have a TypeScript version (ex: an untitled workspace)
I'll look into the issue, wonder where they moved it, ha.
from language-tools.
Seems like it's a bug on VS Codium side VSCodium/vscodium#1809 that has been fixed
from language-tools.
Just checked and it seems the vscodium update with the fix for this issue is available on flathub now. Launched into a project with astro, no errors, the node_modules
directory seems to be back where it belongs. Thanks for looking into it 👍🏻
from language-tools.
Same problem using fedora 39 codium installed by
https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/
using the repository standard: dnf install codium
[Error - 17:21:18] Astro Language Server client: couldn't create connection to server.
Message: Request initialize failed with message: Can't find typescript.js or tsserverlibrary.js in /usr/share/codium/resources/app/extensions/node_modules/typescript/lib
Code: -32603
I try using lunarvim too but get this error
best regards,
Leonardo
from language-tools.
Related Issues (20)
- 🐛 BUG: Import auto-completion issue in VS Code for new components HOT 1
- 🐛 BUG: @astrojs/check not working with typescript import aliases HOT 2
- TypeScript "Move to File" quick fix action fails with Astro extension enabled HOT 1
- Test issue to check updated github actions
- 🐛 BUG: Syntax highlighting formats `onclick` as JS even when braces are used
- 💡 RFC: the language tools shouldn't offer JS/TS completions in HTML code HOT 12
- 🐛 BUG: @astrojs/language-server v2.7.6 not honouring Vue `defineExpose` in test files HOT 2
- 🐛 BUG: Images assets imported in tsx files have the wrong type. HOT 2
- 🐛 BUG: LS crashes when prettier is not installed
- 🐛 BUG: Code action Organize imports stopped working in v.2.8.1 (works in 2.8.0) HOT 2
- 🐛 BUG: Disable useless emmet abbreviation when trying to reference variables from script.
- 🐛 BUG:Astro ls not working with JS project (neovim) HOT 2
- 🐛 BUG: Language server not starting properly in non-VSCode editors if prettier or the prettier plugin are missing HOT 1
- vscode: astro attributes intellisense
- 🐛 BUG: Formatting Layout components gives unexpected reults HOT 1
- 🐛 BUG: version 2.8.1 removes trailing comma on save HOT 6
- 🐛 BUG: Type annotation for Astro.props can fail with single property HOT 3
- 🐛 BUG: Using Vue component with optional properties in Astro file cause type error HOT 2
- 🐛 BUG: Astro VSCode extension crashing Typescript language server HOT 12
- Auto import of Astro's navigate() in VS Code defaults to astro/dist/transitions/router HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from language-tools.