Skip to content
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

Angular 16 after deno task start errors with Too many open files #26071

Closed
sant123 opened this issue Oct 9, 2024 · 5 comments · Fixed by #26200
Closed

Angular 16 after deno task start errors with Too many open files #26071

sant123 opened this issue Oct 9, 2024 · 5 comments · Fixed by #26200
Labels
bug Something isn't working correctly linux

Comments

@sant123
Copy link

sant123 commented Oct 9, 2024

Version: Deno 2.0.0+a62c7e0

Related with #22995

Currently I have an Angular 16 project and I would like to run it with Deno. However after deno task start it throws with the following message:

image

Steps to reproduce:

  • npm install -g @angular/cli@16
  • ng new my-deno-port
  • deno task start

I know this is an old version, but still Node v20.17.0 is able to run it without issues.

Thanks 🙏🏼

@satyarohith
Copy link
Member

I couldn't reproduce this with latest rc on macOS

deno 2.0.0-rc.10 (release candidate, release, aarch64-apple-darwin)
v8 12.9.202.13-rusty
typescript 5.6.2

Logs:

➜  my-deno-port git:(main) deno task start
Task start ng serve
✔ Browser application bundle generation complete.

Initial Chunk Files   | Names         |  Raw Size
vendor.js             | vendor        |   2.04 MB |
polyfills.js          | polyfills     | 331.94 kB |
styles.css, styles.js | styles        | 229.21 kB |
main.js               | main          |  46.79 kB |
runtime.js            | runtime       |   6.52 kB |

| Initial Total |   2.64 MB

Build at: 2024-10-09T07:05:49.084Z - Hash: f1733c6f31e6c762 - Time: 1155ms

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **


✔ Compiled successfully.

@sant123 can you upgrade to latest rc (run: deno upgrade rc)? I'll close this issue for now but feel free to comment if you're having issues with the latest rc too.

@sant123
Copy link
Author

sant123 commented Oct 9, 2024

I'm testing this again with Deno 2.0 and I'm having the same issue:

image

I'm on Fedora 40

@sant123
Copy link
Author

sant123 commented Oct 9, 2024

Alright I just tested with Mac OS and is working good with Sonoma:

image

It seems the issue is in Linux only 🤔

@satyarohith satyarohith reopened this Oct 9, 2024
@satyarohith satyarohith added bug Something isn't working correctly linux labels Oct 9, 2024
@littledivy
Copy link
Member

This is the same issue as #17757. I think we have an idea how to fix this.

@sant123
Copy link
Author

sant123 commented Oct 9, 2024

This is the same issue as #17757. I think we have an idea how to fix this.

Thanks @littledivy 🙏🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly linux
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants