# Cannot build due to new error

**URL:** https://community.haxe.org/t/cannot-build-due-to-new-error/2256
**Category:** Haxe
**Tags:** openfl
**Created:** [February 2, 2020, 1:00am UTC](https://community.haxe.org/t/cannot-build-due-to-new-error/2256 "2020-02-02T01:00:37Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![bking20](https://avatars.discourse-cdn.com/v2/letter/b/e495f1/32.png) [@bking20](https://community.haxe.org/u/bking20)
#### Post date: [February 2, 2020, 1:00am UTC](https://community.haxe.org/t/cannot-build-due-to-new-error/2256/1 "2020-02-02T01:00:37Z")

</div>

I’ve suddenly been getting this error a lot when I’m trying to build to HTML5:

![image](https://community.haxe.org/uploads/default/original/2X/0/01e11682d2a7620932fbfd8a4c61d8922e1aad1f.png)

Anyone have an idea what’s going on?

---

<div class="post-metadata">

### Author: ![RealyUniqueName](https://community.haxe.org/user_avatar/community.haxe.org/realyuniquename/32/10_2.png) [@RealyUniqueName](https://community.haxe.org/u/RealyUniqueName)
#### Post date: [February 2, 2020, 8:25am UTC](https://community.haxe.org/t/cannot-build-due-to-new-error/2256/2 "2020-02-02T08:25:52Z")

</div>

Try to delete that file manually

---

<div class="post-metadata">

### Author: ![bking20](https://avatars.discourse-cdn.com/v2/letter/b/e495f1/32.png) [@bking20](https://community.haxe.org/u/bking20)
#### Post date: [February 2, 2020, 2:05pm UTC](https://community.haxe.org/t/cannot-build-due-to-new-error/2256/3 "2020-02-02T14:05:40Z")

</div>

I did, but it states that I do not have permission… (which I don’t get since I am the only user on my machine, and I am admin). This one has really got me.

---

<div class="post-metadata">

### Author: ![RealyUniqueName](https://community.haxe.org/user_avatar/community.haxe.org/realyuniquename/32/10_2.png) [@RealyUniqueName](https://community.haxe.org/u/RealyUniqueName)
#### Post date: [February 2, 2020, 2:57pm UTC](https://community.haxe.org/t/cannot-build-due-to-new-error/2256/4 "2020-02-02T14:57:05Z")

</div>

> [@bking20](#):
>
> I did, but it states that I do not have permission…

That means the issue is not related to Openfl or Haxe.  
I guess you need to google something like “windows cannot delete file”

---

<div class="post-metadata">

### Author: ![flashultra](https://community.haxe.org/user_avatar/community.haxe.org/flashultra/32/82_2.png) [@flashultra](https://community.haxe.org/u/flashultra)
#### Post date: [February 2, 2020, 3:01pm UTC](https://community.haxe.org/t/cannot-build-due-to-new-error/2256/5 "2020-02-02T15:01:35Z")

</div>

Check if some process lock the files. You can use LockHunter for that [https://lockhunter.com/](https://lockhunter.com/)

---

<div class="post-metadata">

### Author: ![bking20](https://avatars.discourse-cdn.com/v2/letter/b/e495f1/32.png) [@bking20](https://community.haxe.org/u/bking20)
#### Post date: [February 2, 2020, 7:48pm UTC](https://community.haxe.org/t/cannot-build-due-to-new-error/2256/6 "2020-02-02T19:48:34Z")

</div>

Thank you! I’ll use that.

---

<div class="post-metadata">

### Author: ![bking20](https://avatars.discourse-cdn.com/v2/letter/b/e495f1/32.png) [@bking20](https://community.haxe.org/u/bking20)
#### Post date: [February 7, 2020, 1:02am UTC](https://community.haxe.org/t/cannot-build-due-to-new-error/2256/7 "2020-02-07T01:02:15Z")

</div>

So it appears the issue may have been Dropbox stalling on the upload for some reason. Thanks for the lockhunter advice!
