This `node ./src/app.js` thing won't start

so i want to build an integration type app and i was following the guides online and then suddenly this happend. So basically i copied the npx thing in my cmd and then it started some process but when it said [nodemon] starting node ./src/app.js it was just stuck. I thought it’s just taking awhile but it has been 2 hours and nothing is happening.
123

Hello there @joshua378 and welcome to the community!

I hope you like it here :muscle:

I can see we have an issue with the monday tunnel. I checked this and it might take some time to get resolved.

I recommend changing from using the monday tunnel to using ngrok so you can start working.

Basically, you would just need to install it, then go to your terminal in your project and run “npm i ngrok” just in case, and then in your package.json file, you can change this:

“start”: “npm run stop && concurrently "npm run server" "npm run expose"”,
“build”: “react-scripts build”,
“expose”: “mtunnel -p 8301”

To this:

“start”: “npm run stop && concurrently "npm run server" "npm run expose"”,
“build”: “react-scripts build”,
“expose”: “ngrok http 8301”

Then if you want to know your URL for ngrok, you just go to your browser and put http://localhost:4040/inspect/http and you should be able to see it.

If that does not work, you can try using the port 3000 instead of 8301.

Please let me know how that goes!

Cheers,
Matias

1 Like

sorry for the late response but making localserver with ngrok and nodejs worked. And so if you don’t mind i wanna ask a another question, how do i call an input field for my custom action in my app.js?.

1 Like

Hello again @joshua378,

I am glad that works for you now!

Regarding your question. I am assuming you have a custom field that you are using as an input field for your app. Correct?

If that is the case, you can find the article about how that works here and the general documentation on input and output fields here.

Cheers,
Matias

2 Likes