-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deno v1.25 and above hangs on specific machines with no error #16577
Comments
you can use |
Thanks for the tip. I will try to do that, but I am not a root user on the machine and it does not have I left the |
Maybe it's running out of resources? Did you monitor it with htop for example? |
There was nothing running on the machine, and when I downgrade to anything < 1.25 it works instantly, so there is definitely something within that version that is different. |
What's the output with:
Does it also happen when running a JavaScript file with no TypeScript dependencies? |
I ran the code with the log level as suggested and I saw the following difference in logs between 1.24.3 and 1.25.0...
I also made a js file with just one line
|
Maybe try running with:
That will indicate if it ever reaches type checking. I'm wondering if this might be caused by https://deno.com/blog/v1.25#improvements-to-startup-time where it uses sqlite to store data in the $DENO_DIR -- I'll open a PR to add more logging. It would be much faster to debug this if I could reproduce this.
Is it faster if you set |
You may also want to try doing |
Output:
This seems to fix the problem. If I set I have a workable solution for now, so please feel free to close this issue or keep it open if its an issue which needs to be fixed. Thanks for your help |
I'm glad there's a workaround, but this doesn't sound like a great experience. I'd like to get to the bottom of what's causing this, so let's keep it open. What's the system setup like? It sounds like the DENO_DIR was previously on a different drive? |
Whatever is causing this, The weird part is that both drives are mounted as
|
Hello. I use some vim plugins which depend deno. Recently, everything broke on some machines when I updated deno and I have found that on some remote machines v1.25 breaks...
with version 1.24.3 I get this output,
But with any version >= 1.25 I get the following:
This only happens on some remote machines, and my desktop handles all versions correctly. Any idea what could be causing this?
The text was updated successfully, but these errors were encountered: