# Third-Party Node Module Issue - App Crashing Post Install

**URL:** <https://community.homey.app/t/third-party-node-module-issue-app-crashing-post-install/81401>\
**Category:** Developers\
**Created:** [May 30, 2023, 7:28pm UTC](https://community.homey.app/t/third-party-node-module-issue-app-crashing-post-install/81401 "2023-05-30T19:28:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stian\_Kraggerud](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stian_kraggerud/32/77588_2.png) [@Stian\_Kraggerud](https://community.homey.app/u/Stian_Kraggerud)\
**Post date:** [May 30, 2023, 7:28pm UTC](https://community.homey.app/t/third-party-node-module-issue-app-crashing-post-install/81401/1 "2023-05-30T19:28:45Z")

</div>

Hi,

I’m currently developing a simple Homey app that integrates a third-party node module. When I run the app in the development phase using the ‘homey app run’ command, everything works perfectly as expected. However, I am encountering an issue when I attempt to install the app for testing purposes using the ‘homey app install’ command - the app consistently crashes.

I’m struggling to identify the root cause of this discrepancy. Given that the app operates smoothly in the development phase but crashes post-installation, I’m unsure of where the problem may lie. Are there specific debugging procedures or logs I could examine to pinpoint what might be causing this?

Additionally, could there be differences between the ‘run’ and ‘install’ stages that might affect the functionality of the third-party module?

Any advice or insights from those who may have encountered similar situations would be immensely valuable.

Thank you in advice

---

<div class="post-metadata">

**Author:** ![spkesDE](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/spkesde/32/54352_2.png) [@spkesDE](https://community.homey.app/u/spkesDE)\
**Post date:** [May 30, 2023, 7:35pm UTC](https://community.homey.app/t/third-party-node-module-issue-app-crashing-post-install/81401/2 "2023-05-30T19:35:16Z")

</div>

If you’re developing on a HP2023 try `homey app run -remote` / `homey app run -r`. Then the apps runs on the Homey Pro itself and not in a docker image.

---

<div class="post-metadata">

**Author:** ![Stian\_Kraggerud](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stian_kraggerud/32/77588_2.png) [@Stian\_Kraggerud](https://community.homey.app/u/Stian_Kraggerud)\
**Post date:** [May 30, 2023, 7:47pm UTC](https://community.homey.app/t/third-party-node-module-issue-app-crashing-post-install/81401/3 "2023-05-30T19:47:11Z")

</div>

Thanks, I am now able to see the specific exception causing the crash, which is a massive step forward. Thanks once again for your time and valuable advice.
