Comments (3)
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
- Mise 2024.2.4 macos-arm64 (2024-02-03) (compatible alternative to
asdf
)
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.
Had the same issue on 1.31.x
. Bumping up to 1.41.0
fixed it for me.
from vscode_deno.
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)
- import autocompletion not working HOT 3
- Intellisense broken in 1.44.3 & 1.44.4 HOT 2
- mismatch between vscode and deno test error reporting HOT 2
- npm import not recognizing all package contents HOT 1
- Failed to import package that contained deno workspace HOT 3
- Watch mode for testing view
- Test donesn't run when clicking the "play" icon
- LSP cannot find `lib.es5.d.ts`
- Formating documents with deno disabled HOT 1
- Perplexing effect of `deno cache` HOT 3
- Property 'cron' does not exist on type 'typeof Deno'.deno-ts(2339) HOT 2
- [FR] Add support for all testing features supported in vs code testing
- Deixando o VS Code muito lento HOT 1
- `useTabs: true` not respected when formatting via vscode deno extension HOT 1
- Version mismatch warning with latest canary
- Import suggestions ignores local package's deno.json imports when using workspaces
- Updating to version v3.38.1 shows errors HOT 5
- Investigate why vsce 2.31.1 breaks this extension
- False positive deno-ts(2367)?
- Add global default format options
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 vscode_deno.