Error: [11:39:55.591] The build failed because the process exited too early. This probably means the system ran out of memory or someone called kill -9
on the process.
[11:39:55.608] Error: Command "npm run build" exited with 1
[11:39:55.908] BUILD_UTILS_SPAWN_1: Command "npm run build" exited with 1
#51880
Replies: 6 comments 4 replies
-
Well, it either timeout out or really did run out of memory. Where is this happening? Vercel? or locally? other hosting provider? How many pages are you building? what kind of data is it handling? |
Beta Was this translation helpful? Give feedback.
-
PS D:\Dp Main Portfolio> npx run build TypeError: minimatch is not a function Node.js v18.13.0 |
Beta Was this translation helpful? Give feedback.
-
project size after node module is aroung 200 mb |
Beta Was this translation helpful? Give feedback.
-
this is project:https://dpvasani-57.netlify.app/ |
Beta Was this translation helpful? Give feedback.
-
try to increase your swap memory after some research i found out that my swap memory was 500mb and i extended it to 1gb so the build ran well now to check for swap
that will show u the available swap memory the commands below will increase it to 1gb
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How To Solve This error?
Beta Was this translation helpful? Give feedback.
All reactions