# O.sort is not a function

**URL:** <https://forums.rocket.chat/t/o-sort-is-not-a-function/3703>\
**Category:** Rocket.Chat Apps\
**Created:** [April 27, 2019, 6:17pm UTC](https://forums.rocket.chat/t/o-sort-is-not-a-function/3703 "2019-04-27T18:17:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![desol](https://avatars.discourse-cdn.com/v4/letter/d/f08c70/32.png) [@desol](https://forums.rocket.chat/u/desol)\
**Post date:** [April 27, 2019, 6:17pm UTC](https://forums.rocket.chat/t/o-sort-is-not-a-function/3703/1 "2019-04-27T18:17:37Z")

</div>

I am trying to deploy the most basic hello world app in order to test the deployment process before I try and deploy my own app.

using [https://rocket.chat/docs/developer-guides/developing-apps/getting-started/](https://rocket.chat/docs/developer-guides/developing-apps/getting-started/) and deploying to the docker container listed on that page

however after deploying the app via `rc-apps deploy` successfully, after clicking on the app name in Administration \> Apps \> Installed rocket chat show on the web page `o.sort is not a function` and a red warning triangle

 ![](https://user-images.githubusercontent.com/23345512/56855731-405c6380-6944-11e9-8b51-4816db486642.png)

Could somebody point me in the direction of how to resolve this or if it is a bug ?

---

<div class="post-metadata">

**Author:** ![douglas.gubert](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/douglas.gubert/32/698_2.png) [@douglas.gubert](https://forums.rocket.chat/u/douglas.gubert)\
**Post date:** [April 29, 2019, 6:51pm UTC](https://forums.rocket.chat/t/o-sort-is-not-a-function/3703/2 "2019-04-29T18:51:57Z")

</div>

Hi @desol

Which version of Rocket.Chat and Apps-Engine are you using?

---

<div class="post-metadata">

**Author:** ![desol](https://avatars.discourse-cdn.com/v4/letter/d/f08c70/32.png) [@desol](https://forums.rocket.chat/u/desol)\
**Post date:** [April 29, 2019, 6:55pm UTC](https://forums.rocket.chat/t/o-sort-is-not-a-function/3703/3 "2019-04-29T18:55:14Z")

</div>

Version 0.74.3  
Apps Engine Version 1.4.0  
@rocket.chat/apps-cli/1.4.0 win32-x64 node-v10.12.0

Trying to deploy a fresh `rc-apps create` app via `rc-apps deploy` causes the problem.

The example out-of-office app from graywolf336, deploys without problems.

However changing any of the fields on the example app.json except `id` deploys OK

However changing the app.json `id` field to a fresh uuid (with and without a different name) causes the issue to arise, even when re-deploying on a fresh docker container (also with rocketdb removed)

---

<div class="post-metadata">

**Author:** ![aaron.ogle](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/aaron.ogle/32/15_2.png) [@aaron.ogle](https://forums.rocket.chat/u/aaron.ogle)\
**Post date:** [May 9, 2019, 5:59pm UTC](https://forums.rocket.chat/t/o-sort-is-not-a-function/3703/4 "2019-05-09T17:59:15Z")

</div>

Can you try with 1.0.x in your dev environment? Its possible we fixed something.

---

<div class="post-metadata">

**Author:** ![desol](https://avatars.discourse-cdn.com/v4/letter/d/f08c70/32.png) [@desol](https://forums.rocket.chat/u/desol)\
**Post date:** [May 10, 2019, 7:03pm UTC](https://forums.rocket.chat/t/o-sort-is-not-a-function/3703/5 "2019-05-10T19:03:47Z")

</div>

Yes it works now thankyou @aaron.ogle !

I am getting a popup saying

`failed [400] {"code":271,"error":"no app found by the provided id","requestId":"57546c68-bb78-4ed8-b280-24b40b29f8b7","status":400}`

now but It works so that’s all good. I guess this could be because it is not in the marketplace yet ?

do you know when 1.0 is coming to snaps also? or do I need to manually update ?

Thanks!
