# XD Plugin File Upload takes forever

**URL:** <https://forums.creativeclouddeveloper.com/t/xd-plugin-file-upload-takes-forever/4212>\
**Category:** Plugin Marketplace\
**Created:** [January 26, 2022, 2:38pm UTC](https://forums.creativeclouddeveloper.com/t/xd-plugin-file-upload-takes-forever/4212 "2022-01-26T14:38:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![getflourish](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/getflourish/32/25_2.png) [@getflourish](https://forums.creativeclouddeveloper.com/u/getflourish)\
**Post date:** [January 26, 2022, 2:38pm UTC](https://forums.creativeclouddeveloper.com/t/xd-plugin-file-upload-takes-forever/4212/1 "2022-01-26T14:38:39Z")

</div>

I’m trying to update a plugin and dropped a generated Package (via UXP Developer Tool) into the  
Developer Console but the spinner doesn’t stop spinning. Any idea what could be wrong?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/xdplugins/original/2X/b/b701721982122ce38ad394c38e85f5239d8cfc20.png)

Safari’s console shows this after the page loads (before plugin upload):

 ![image](https://us1.discourse-cdn.com/flex015/uploads/xdplugins/original/2X/d/d12faf1a6f41780eda58f3b0c17a2201217a50c7.png)

---

<div class="post-metadata">

**Author:** ![getflourish](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/getflourish/32/25_2.png) [@getflourish](https://forums.creativeclouddeveloper.com/u/getflourish)\
**Post date:** [January 26, 2022, 2:41pm UTC](https://forums.creativeclouddeveloper.com/t/xd-plugin-file-upload-takes-forever/4212/2 "2022-01-26T14:41:36Z")

</div>

Ah, I now get a more helpful errors 🙂

 ![image](https://us1.discourse-cdn.com/flex015/uploads/xdplugins/original/2X/5/5faf2cf6eb8dff2654df2cf43607ff819da67865.png)

---

<div class="post-metadata">

**Author:** ![getflourish](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/getflourish/32/25_2.png) [@getflourish](https://forums.creativeclouddeveloper.com/u/getflourish)\
**Post date:** [January 26, 2022, 2:52pm UTC](https://forums.creativeclouddeveloper.com/t/xd-plugin-file-upload-takes-forever/4212/3 "2022-01-26T14:52:07Z")

</div>

Apparently the “Package” command from UXP Developer tool doesn’t bundle all files, e.g. there’s no more “main.js” in the package. I now manually compressed the contents and renamed the zip to xdx as described in the docs. Is there anything I need to change to make the “Package” command work?

---

<div class="post-metadata">

**Author:** ![pklaschka](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/pklaschka/32/3162_2.png) [@pklaschka](https://forums.creativeclouddeveloper.com/u/pklaschka)\
**Post date:** [January 26, 2022, 4:36pm UTC](https://forums.creativeclouddeveloper.com/t/xd-plugin-file-upload-takes-forever/4212/4 "2022-01-26T16:36:46Z")

</div>

Hey @getflourish ,

That’s not what it should look like 😅 .

Could you please share the following details to hopefully enable us to reproduce the error you ran into:

- Operating system
- General tech stack of the plugin (Vanilla JS/React/webpack/…)
- The overall folder structure of your plugin (e.g., do you have a `dist` folder where `manifest.json` and a compiled `main.js` file are)
- The “Plugin Build Folder” in the UXP Developer Tool (UDT) in the plugin’s options → “Advanced”

Thank you very much in advance!

---

<div class="post-metadata">

**Author:** ![getflourish](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/getflourish/32/25_2.png) [@getflourish](https://forums.creativeclouddeveloper.com/u/getflourish)\
**Post date:** [January 27, 2022, 8:21am UTC](https://forums.creativeclouddeveloper.com/t/xd-plugin-file-upload-takes-forever/4212/5 "2022-01-27T08:21:32Z")

</div>

Hi! I’m using the early Vue + Webkit Starter that was published somewhere around here in 2018. It looks as if it doesn’t have a `/dist` folder, instead the `watch` command just seems to output the `main.js`.

More or less like that:

/main.js  
/assets  
/src  
/node\_modules

But as mentioned, the `main.js` was excluded from the packaged file when I tried it yesterday 🙂

---

<div class="post-metadata">

**Author:** ![pklaschka](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/pklaschka/32/3162_2.png) [@pklaschka](https://forums.creativeclouddeveloper.com/u/pklaschka)\
**Post date:** [January 27, 2022, 9:30am UTC](https://forums.creativeclouddeveloper.com/t/xd-plugin-file-upload-takes-forever/4212/6 "2022-01-27T09:30:04Z")

</div>

Thanks! I’ll try to reproduce this on my end later today.

Tagging @Sujai for visibility
