pancake-frontend
pancake-frontend copied to clipboard
[BUG] encounter EMFILE: too many open files error during building process
Is there an existing issue for this?
- [X] I have searched the existing issues
Product
Trade
Current Behavior
✓ Linting and checking validity of types
✓ Creating an optimized production build
✓ Compiled successfully
Collecting page data ..Datadog Browser SDK: Client Token is not configured, we will not send any data.
Datadog Browser SDK: Client Token is not configured, we will not send any data.
Datadog Browser SDK: Client Token is not configured, we will not send any data.
Datadog Browser SDK: Client Token is not configured, we will not send any data.
Datadog Browser SDK: Client Token is not configured, we will not send any data.
Collecting page data ...Datadog Browser SDK: Client Token is not configured, we will not send any data.
Datadog Browser SDK: Client Token is not configured, we will not send any data.
✓ Collecting page data
[Error: EMFILE: too many open files, open '/Users//pancake-frontend/apps/web/.next/server/chunks/quote-worker.js'] {
errno: -24,
code: 'EMFILE',
syscall: 'open',
path: '/Users//pancake-frontend/apps/web/.next/server/chunks/quote-worker.js'
}
Generating static pages (55/94) [ ]
ELIFECYCLE Command failed with exit code 1.
Expected Behavior
Finish the building process
Steps To Reproduce
- using node 18.7(tried 20.7, 16.13) and the Environment below
- run
pnpm i
- run
pnpm build
orcd apps/web
and then runpnpm build
Environment
- Device: Macbook M1 Pro
- OS: MacOS Ventura 13.2.1
- Browser: *
- Wallet: *
Anything else?
Might related to Next.js #Issue 64066