[SOLVED] My Project Error

   npm ERR! path /app/node_modules/.staging/ytdl-core-discord-05350948

npm ERR! code ENOSPC
npm ERR! errno -28
npm ERR! syscall mkdir
npm ERR! nospc ENOSPC: no space left on device, mkdir ‘/app/node_modules/.staging/ytdl-core-discord-05350948’
npm ERR! nospc There appears to be insufficient space on your system to finish.
npm ERR! nospc Clear up some disk space and try again.

npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/npm-cache/12.0.0/_logs/2020-06-20T18_36_04_401Z-debug.log

I write npm to the console, it does not install, it gives this error and it shows blank on my disk but it is not downloading.

Welcome K1at3s to the community!
So the solution is:

  • Type git gc or git prune in your terminal to remove useless folders/files from your project.
  • Remove useless packages from your package.json.
  • Type rm -rf /app/.git/ in your terminal to remove your rewind cache. (Not recommended anyway)

Do NOT remove/delete your rewind cache, if you doesn’t know what you are doing.

i am used rm -rf .cache

Try reinstalling the ytdl-core-discord because it is corrupted.

f*ck it i will deleted rewind cahce ahh

Do NOT remove/delete your rewind cache, if you doesn’t know what you are doing.

okey i will create new project bcs don’t fixing problem

Prefer to my post as mentioned a list of solutions.

okey thanks for helping me

@SplitXPlayZ bro i will created new project but project not loading why?

Glitch is having a outage now.

okey thanks for help me

Tick the answer as solved and edit the title to [SOLVED].