Giter Site home page Giter Site logo

Comments (3)

Nezteb avatar Nezteb commented on September 24, 2024

I have this same problem, except the error I see is "invalid type: null, expected a boolean" instead: (this is with "deno.internalDebug": true)

Starting Deno language server...
  version: 1.35.0 (release, aarch64-apple-darwin)
  executable: /Users/noah/.local/share/mise/installs/deno/1.35.0/bin/deno
Connected to "Visual Studio Code - Insiders" 1.87.0-insider
Cannot set workspace settings: invalid type: null, expected a boolean
[Error - 12:59:53 PM] Server initialization failed.
  Message: Internal error
  Code: -32603 
[Error - 12:59:53 PM] Deno Language Server client: couldn't create connection to server.
  Message: Internal error
  Code: -32603 

This looks similar to #994.

My details:

  • vscode_deno version 3.33.3
  • VS Code Insiders:
Version: 1.87.0-insider
Commit: b2598b92d18ea1132e9cd35df776c8c22a7f9730
Date: 2024-02-13T05:48:27.895Z
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Darwin arm64 23.3.0
  • Deno:
❯ deno --version
deno 1.35.0 (release, aarch64-apple-darwin)
v8 11.6.189.7
typescript 5.1.6

I've verified that deno is in my path, and I've never had issues with VS Code and any other CLI tools.

> which deno
/Users/noah/.local/share/mise/installs/deno/1.35.0/bin/deno

Even setting deno.path doesn't seem to fix it:

"deno.path": "~/.local/share/mise/installs/deno/1.35.0/bin/deno"

EDIT: I guess 1.35.x is just cursed? I couldn't get any of them to work, but bumping up to 1.40.x I can't reproduce this. Soooooo, I'm good to go now? 😅

from vscode_deno.

shaheermir avatar shaheermir commented on September 24, 2024

Had the same issue on 1.31.x. Bumping up to 1.41.0 fixed it for me.

from vscode_deno.

nayeemrmn avatar nayeemrmn commented on September 24, 2024

Run deno upgrade, or downgrade the extension according to https://github.com/denoland/vscode_deno?tab=readme-ov-file#compatibility.

from vscode_deno.

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.