# Custom Component Publishing Error

**URL:** <https://forum.adalo.com/t/custom-component-publishing-error/22907>\
**Category:** Get Help\
**Created:** [February 2, 2022, 6:51pm UTC](https://forum.adalo.com/t/custom-component-publishing-error/22907 "2022-02-02T18:51:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![priyankaiyer](https://avatars.discourse-cdn.com/v4/letter/p/919ad9/32.png) [@priyankaiyer](https://forum.adalo.com/u/priyankaiyer)\
**Post date:** [February 2, 2022, 6:51pm UTC](https://forum.adalo.com/t/custom-component-publishing-error/22907/1 "2022-02-02T18:51:59Z")

</div>

I’m trying to publish my custom component and am getting this error:

 ![Screen Shot 2022-02-02 at 12.43.39 PM](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/5/5f0cd062c266d2f0ac3e439ff7fe1cfade18cf59.png)

It doesn’t seem like anyone else has experienced this. Also difficult to troubleshoot because there’s no explanation for the error.

^ this is after I run `npx adalo publish`

---

<div class="post-metadata">

**Author:** ![TKOTC](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/tkotc/32/6863_2.png) [@TKOTC](https://forum.adalo.com/u/TKOTC)\
**Post date:** [February 2, 2022, 6:55pm UTC](https://forum.adalo.com/t/custom-component-publishing-error/22907/2 "2022-02-02T18:55:19Z")

</div>

I get that often, most of the time it is caused by not running `npx adalo login` prior to publishing. If that does not solve the issue let me know and I can give some more guidance on debugging.

---

<div class="post-metadata">

**Author:** ![TKOTC](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/tkotc/32/6863_2.png) [@TKOTC](https://forum.adalo.com/u/TKOTC)\
**Post date:** [February 2, 2022, 8:03pm UTC](https://forum.adalo.com/t/custom-component-publishing-error/22907/3 "2022-02-02T20:03:47Z")

</div>

Okay, I just tried to publish a new component and I get undefined, but this time it is a bug in their CLI probably related to `Link to Demo App`.

To fix this problem you need to roll back to an older version of the CLI. open package.json and find `"@adalo/cli": "0.0.48,"` and replace that with `"@adalo/cli": "0.0.42,"` after that run `yarn` to install the old version of the CLI and publish again.

It will solve your issue

---

<div class="post-metadata">

**Author:** ![njimmy10](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/njimmy10/32/23489_2.png) [@njimmy10](https://forum.adalo.com/u/njimmy10)\
**Post date:** [February 2, 2022, 8:08pm UTC](https://forum.adalo.com/t/custom-component-publishing-error/22907/4 "2022-02-02T20:08:51Z")

</div>

That’s weird, i was using `0.0.48` and publishing normally, but good to know

---

<div class="post-metadata">

**Author:** ![TKOTC](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/tkotc/32/6863_2.png) [@TKOTC](https://forum.adalo.com/u/TKOTC)\
**Post date:** [February 2, 2022, 8:10pm UTC](https://forum.adalo.com/t/custom-component-publishing-error/22907/5 "2022-02-02T20:10:30Z")

</div>

I was fine up until 10 minutes ago, then I got a 503 error. Reverting back to 0.0.42 let me publish.

I think they are deploying changes to the component marketplace in preparation for Monday beta and they made a bug. Probably will be fixed later today, for now 42 works

---

<div class="post-metadata">

**Author:** ![njimmy10](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/njimmy10/32/23489_2.png) [@njimmy10](https://forum.adalo.com/u/njimmy10)\
**Post date:** [February 2, 2022, 8:11pm UTC](https://forum.adalo.com/t/custom-component-publishing-error/22907/6 "2022-02-02T20:11:16Z")

</div>

oh okay, i see…

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [February 12, 2022, 8:12pm UTC](https://forum.adalo.com/t/custom-component-publishing-error/22907/7 "2022-02-12T20:12:03Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
