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

Parcel 2: Too many open files causes a silent crash. #4424

Open
willstott101 opened this issue Apr 3, 2020 · 0 comments
Open

Parcel 2: Too many open files causes a silent crash. #4424

willstott101 opened this issue Apr 3, 2020 · 0 comments

Comments

@willstott101
Copy link

🐛 bug report

Silent crash on startup! Suspect due to too many open files. In the same state if I run jest --watch I get a helpful error - which clued me up.

🎛 Configuration (.babelrc, package.json, cli command)

Fully default parcel config (i.e. no specific config).

Typescript project with a simple package/tsconfig - building the project with pure tsc, but building examples without typechecking via parcel: parcel example/index.html

🤔 Expected Behavior

Dev server should start up and give me some nice coloured cli output 🤗

😯 Current Behavior

Silent crash even with verbose mode 😢

npx parcel example/index.html --log-level verbose

Literally no output whatsoever on stdout/err.

💁 Possible Solution

Seems to be related to number of open files. If I close my IDE/TortoiseHg things start working fine and dandy again. I can re-open those applications, and the command starts failing once more.

🔦 Context

Using as file watching server during dev. At the very least there should be a helpful error.

🌍 Your Environment

Software Version(s)
Parcel ^2.0.0-alpha.3.2
Node v13.12.0
npm/Yarn npm 6.14.4
Operating System Ubuntu 18.04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants