# Node settings for sample app

**URL:** <https://community.rapyd.net/t/node-settings-for-sample-app/22557>\
**Category:** General\
**Created:** [July 13, 2022, 6:23pm UTC](https://community.rapyd.net/t/node-settings-for-sample-app/22557 "2022-07-13T18:23:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![castle](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@castle](https://community.rapyd.net/u/castle)\
**Post date:** [July 13, 2022, 6:23pm UTC](https://community.rapyd.net/t/node-settings-for-sample-app/22557/1 "2022-07-13T18:23:18Z")

</div>

Hi,

trying to use the sample node app does someone have an example of the settings?

thanks

---

<div class="post-metadata">

**Author:** ![Community\_Team](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Community\_Team](https://community.rapyd.net/u/Community_Team)\
**Post date:** [July 13, 2022, 8:16pm UTC](https://community.rapyd.net/t/node-settings-for-sample-app/22557/2 "2022-07-13T20:16:45Z")

</div>

Thanks, are you referring to the setting up the [request signature](https://docs.rapyd.net/build-with-rapyd/reference/message-security#request-signatures)?

Or would this be regarding, [GitHub - Rapyd-Samples/accept-payments: Explore top payment methods to learn how you can build with Rapyd in a single integration offering customers their preferred local payment features.](https://github.com/Rapyd-Samples/accept-payments)?

---

<div class="post-metadata">

**Author:** ![castle](https://avatars.discourse-cdn.com/v4/letter/c/b2d939/32.png) [@castle](https://community.rapyd.net/u/castle)\
**Post date:** [July 14, 2022, 7:59am UTC](https://community.rapyd.net/t/node-settings-for-sample-app/22557/3 "2022-07-14T07:59:42Z")

</div>

The GIH hub example

> **[accept-payments/nodejs at main · Rapyd-Samples/accept-payments](https://github.com/Rapyd-Samples/accept-payments/tree/main/nodejs)**
>
> main/nodejs

I cloned the code and I have added .evn with these variables

NODE\_ENV  
RAPYD\_ACCESS\_KEY  
RAPYD\_SECRET\_KEY  
PORT

When I try to debug using visual code on mac with m1 chip I get this error…

nodemon] app crashed - waiting for file changes before starting…

---

<div class="post-metadata">

**Author:** ![Community\_Team](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Community\_Team](https://community.rapyd.net/u/Community_Team)\
**Post date:** [February 16, 2023, 7:57pm UTC](https://community.rapyd.net/t/node-settings-for-sample-app/22557/5 "2023-02-16T19:57:11Z")

</div>

Hi @castle, confirming with our solutions engineer, this does happen with NodeJS in general. However, it doesn’t have anything to do with the repo nor the code. Sometimes it may be having 2 instances of node running a the same time.

> I usually just kill the node processes in the OS and restart VSCode, but again it wouldn’t have to do with the repo.

Here is a similar answer to a post in Stack Overflow.

> <https://stackoverflow.com/questions/37486631/nodemon-app-crashed-waiting-for-file-changes-before-starting>
