Hi Pad,
Look like you have some files open, that the gulp script tries to delete.
Do you have some files open in an other editor?
Try to delete the files from the deployment folder manually in the explorer.
Some tools like this can help you out finding, which program is locking files. https://github.com/mendixlabs/pull-to-refresh/pull/15
Cheers, Andries
Hi Andries,
Thanks for your reply. I tried your options, but no luck. Issue here is, while running the cmd “npm run dev” it’s deleting complete “dist/MxTestProject folder items” not only the deployment folder. When system tries to delete the deployment folder, we are receiving error message “Error: EBUSY: resource busy or locked”. I don’t know why it’s deleting complete folder items.
Folder Structure Before Running Command: