Comments (5)
I have sent a pr already for this #23473
from deno.
I have sent a pr already for this #23473
With this PR the language server works as expected.
Thank you.
from deno.
Thanks @sigmaSd. Merged. Will be in the next release this week.
from deno.
The language server periodically sends the 0
signal to the editor via this kill
function. In 04c6785 everything works fine, but in c0f40ed this function throws an error with the value -22
.
deno/ext/node/polyfills/process.ts
Line 298 in a2dbcf9
from deno.
Here we go!
In 04c6785 there was a special treatment for signal 0, but in c0f40ed it has been removed. Also, signal 0 is not listed in constants.
So maybeSignal
becomes undefined
and function returns error.
deno/ext/node/polyfills/process.ts
Line 266 in c0f40ed
So LSP server tries to send signal 0 to check if editor is alive. Deno sees signal 0 and does not know what to do and returns error. LSP server sees this error and thinks that editor is dead and happily exists.
from deno.
Related Issues (20)
- Compilation error during cargo install HOT 4
- `node:tty` -> N.WriteStream.prototype.hasColors is not a function
- File with just `+` does not report syntax error HOT 3
- Websocket behaviour change since 1.44.3 HOT 4
- No way to specify specific abstract socket name with `--allow-read/write`.
- Import error on startup when a Fresh project is a workspace member HOT 3
- Non-zero exit code in a test case causes the test to fail since 1.44.0
- `deno test --watch` should always print the full test output HOT 2
- proposal: add `Deno.ConfigFile` HOT 4
- βclient error (SendRequest)β when fetching certain https URLs over proxy HOT 7
- deno publish failed with error: error[excluded-module] when export casing differs from file casing HOT 5
- For loop does not works as expected HOT 2
- Deno APIs missing in Deno runtime HOT 1
- PermissionDenied (EACCES code) when trying to reading files from network-mapped drive
- ERR_MULTIPLE_CALLBACK is thrown during running `test` script in commander.js repo
- deno cache --vendor does not generate an import map HOT 1
- deno cache --vendor does not let me choose a folder name
- node WriteStream leaks in deno tests HOT 13
- [complie] Importing node modules does not work with byonm flag when entrypoint in a sub dir
- deno support declare module keyword
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 deno.