Ladvace / astro-bento-portfolio

Astro-bento-portfolio is a minimal bento-like (almost) single page portfolio website made in Astro
https://sparkly-speculoos-0c9197.netlify.app/
MIT License
176 stars 63 forks source link

EMFile Too many files open #6

Closed granth23 closed 6 months ago

granth23 commented 6 months ago

I am getting a certain error stating Error: EMFILE: too many open files, open 'C:\Users\Granth Bagadia\Code\Projects\Websites\Portfolio\node_modules\astro\dist\assets\utils\vendor\image-size\types\heif.d.ts' Probably something with my own device but not really sure on how to solve this.

Thank You

Ladvace commented 6 months ago

when did you get this error, trying to run it in dev with pnpm dev?

granth23 commented 6 months ago

No I was doing npm run dev

Ladvace commented 6 months ago

try using pnpm instead if you can

granth23 commented 6 months ago

No i dont have pnpm installed

Ladvace commented 6 months ago

what version of node/npm do you use?

granth23 commented 6 months ago

Node: v20.11.1 npm@9.7.1

granth23 commented 6 months ago

I did install pnpm its working now, thanks

granth23 commented 6 months ago

Done

Ladvace commented 6 months ago

I tried with npm and it works with that too, In case anyone else get this problem I'll try to dig into it, for now I suggest using pnpm