neutralinojs / neutralinojs-cli

neu cli for Neutralinojs
https://neutralino.js.org/docs/cli/neu-cli
MIT License
91 stars 56 forks source link

Fix/resource busy rmdir #267

Open viralgupta opened 3 months ago

viralgupta commented 3 months ago

fixed Error: EBUSY: resource busy or locked, rmdir '../node' error while creating a neu app on Windows. This would leave a folder without removing the .tmp files from the folder.

Previous error image

Current Solution image

shalithasuranga commented 3 months ago

Hello @viralgupta Thanks so much for sending this pull request :) Could you please let us know how to reproduce this issue?

Thanks :tada:

viralgupta commented 3 months ago

Hi @shalithasuranga , this issue would occur if the default branch were something other than "main," in my case, it was the "master" branch for the "viralgupta/node-neutralinojs-template" template. I had renamed the branch after seeing this issue. So, to reproduce the issue, I have changed it back to the "master" branch for now.

so you can just run this to reproduce the bug neu create testapp -t viralgupta/node-neutralinojs-template

ps: