Code Monkey home page Code Monkey logo

Comments (4)

Princesseuh avatar Princesseuh commented on May 27, 2024 2

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.

Princesseuh avatar Princesseuh commented on May 27, 2024 1

Seems like it's a bug on VS Codium side VSCodium/vscodium#1809 that has been fixed

from language-tools.

Mitsunee avatar Mitsunee commented on May 27, 2024 1

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.

lesar avatar lesar commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.