chrome-extension-boilerplate-react-vite icon indicating copy to clipboard operation
chrome-extension-boilerplate-react-vite copied to clipboard

Unlink error broke the script

Open PatrykKuniczak opened this issue 7 months ago • 17 comments

Sometimes i had this error, this once per day, or a little often but it happened

image

It's happened on rebuild i think, cause broke when 'build:watch' running

PatrykKuniczak avatar Nov 26 '23 15:11 PatrykKuniczak

Same here, I also get this error

lealahm avatar Nov 27 '23 04:11 lealahm

@lealahm Can you give us some information about your environment? Is it a Windows operating system?

Jonghakseo avatar Dec 02 '23 14:12 Jonghakseo

  • https://stackoverflow.com/questions/55212864/error-ebusy-resource-busy-or-locked-rmdir

Hmmm. Maybe one of the solutions suggested in the link above will work?

Jonghakseo avatar Dec 02 '23 14:12 Jonghakseo

@Jonghakseo Ye, Windows 11 with AMD CPU

PatrykKuniczak avatar Dec 02 '23 14:12 PatrykKuniczak

  • https://stackoverflow.com/questions/55212864/error-ebusy-resource-busy-or-locked-rmdir

Hmmm. Maybe one of the solutions suggested in the link above will work?

Maybe, but that's not a good solution, cause if somebody use this template, i'm pretty sure they don't want to configure sth else additionally for windows, to work without any errors.

PS: If you don't find solution for that, we can describe it in README, for Windows user, step by step instruction :)

PatrykKuniczak avatar Dec 02 '23 14:12 PatrykKuniczak

@lealahm Can you give us some information about your environment? Is it a Windows operating system?

Yes, windows 11

lealahm avatar Dec 02 '23 14:12 lealahm

@Jonghakseo It's freaking annoying, it's happened more often, i don't develop more last time, now i must hurry done my project and i develop more, and i see it's happening once per about 10 reload.

PS: And sometimes script don't broke, but extension don't reload properly image

PatrykKuniczak avatar Dec 02 '23 16:12 PatrykKuniczak

@Jonghakseo This is the highest priority, cause it's freaking annoying, start and stop, start and stop, maaan.

We must to repair this, in this week i want to done MVP for my project, and i can contribute more :)

PatrykKuniczak avatar Dec 08 '23 17:12 PatrykKuniczak

@lealahm https://github.com/orgs/community/discussions/50143#discussioncomment-5323603

It works to me, i think we should document this, or create sh script or sth in js, which clear temp, for avoid this issue, maybe it's not the best issue, to clear temp of dev machine, but hymm, we should think about it @Jonghakseo

Temp isn't sensitive data, i don't use it never, apps create it on next start, cause as folder name say, it's temporary, maybe it isn't bad idea to clear %temp% on windows on start this template, let give me a feedback what you think

PatrykKuniczak avatar Dec 11 '23 20:12 PatrykKuniczak

Stop working ...

I have no power here xD

PatrykKuniczak avatar Dec 11 '23 20:12 PatrykKuniczak

@lealahm github.com/orgs/community/discussions/50143#discussioncomment-5323603

It works to me, i think we should document this, or create sh script or sth in js, which clear temp, for avoid this issue, maybe it's not the best issue, to clear temp of dev machine, but hymm, we should think about it @Jonghakseo

Temp isn't sensitive data, i don't use it never, apps create it on next start, cause as folder name say, it's temporary, maybe it isn't bad idea to clear %temp% on windows on start this template, let give me a feedback what you think

If it's a problem that can be solved with the npm cache clean command, I think it would be good to mention it in the readme. Am I understanding this correctly?

Jonghakseo avatar Dec 27 '23 14:12 Jonghakseo

readme

It's not working for me, i was trying this and clean temp.

Have you any idea?

PatrykKuniczak avatar Dec 27 '23 14:12 PatrykKuniczak

I've been using windows for a long time, so I have no concept of the temp folder. How does emptying the temp folder work? Do you have a example script?

Jonghakseo avatar Dec 27 '23 14:12 Jonghakseo

I've been using windows for a long time, so I have no concept of the temp folder. How does emptying the temp folder work? Do you have a example script?

it has temporary data from all installed apps on PC, but this solution didn't work.

I don't use any script, i open it manually

PatrykKuniczak avatar Dec 27 '23 14:12 PatrykKuniczak

it has temporary data from all installed apps on PC, but this solution didn't work.

Which solution are you referring to? I checked the solution attached in the link (emptying the temp folder altogether) and thought it worked well for you.

I'm not sure what you're asking for an opinion on. Is there anything I can help you with?

Jonghakseo avatar Dec 27 '23 14:12 Jonghakseo

it has temporary data from all installed apps on PC, but this solution didn't work.

Which solution are you referring to? I checked the solution attached in the link (emptying the temp folder altogether) and thought it worked well for you.

I'm not sure what you're asking for an opinion on. Is there anything I can help you with?

i was try both options from this link above, i was use npm clean cache and remove everything from %temp%

I need to try it again, and i will send you feedback

PatrykKuniczak avatar Dec 27 '23 15:12 PatrykKuniczak

@Jonghakseo It still happening, but i can't reproduce it on template, but on my project it happened almost everytime, i thing it depend of the amount of code, because template is pure, and my project have a lot of deps and etc.

As you can see, it happened not only for js file, but if any have this conflict, then script was stopped, and also for v20 of node

image

PS: I was editting popup

PatrykKuniczak avatar Dec 27 '23 15:12 PatrykKuniczak

@Jonghakseo Any moves forward?

PatrykKuniczak avatar Jan 10 '24 09:01 PatrykKuniczak

@Jonghakseo Any moves forward?

No I haven't paid attention to it at all in recent weeks, I'll try to look into it this weekend.

Jonghakseo avatar Jan 11 '24 07:01 Jonghakseo