BishoyWagih's avatar

npm run watch

when i run npm run dev all assets are compiled successfully, but when i run npm run

watch i got this error..

Webpack is watching the files…

  events.js:167
  throw er; // Unhandled 'error' event
  ^

  Error: ENOSPC: no space left on device, watch 'resources/assets/css/core.css'
0 likes
4 replies
bobbybouwmann's avatar

The error is pretty clear right?

no space left on device

Are you using a container or a vagrant box? If that is the case, make sure you have enough space available!

The reason you get no space left is probably because compiling everything takes a lot more resources then just watching and only updating some parts!

BishoyWagih's avatar

am not using any containers i'm just on Ubuntu 17.10.. it is something related to

cache?

vitormyra's avatar

hi bro, test this command, I think that it can solve your question.

echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

MaverickChan's avatar

how did you install node.js? don't use apt , download directly from the website , and , there are still some issues on ubuntu , luckily , most could be found on google.

Please or to participate in this conversation.