It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Ngrok is erring out on app restart with nodem

Alex K I'm New Here Mar 10, 2019

Hello All,

I would love if I could speed up my dev flow, but I find my self having to restart my node server when I make changes to my js code. When I restart the server, I then have to update my atlassian-connect.json files baseurl prop. Once that is done, I have to go the my dev jira app and re-install the app.

 

Is there a better way to do this?

I tried using nodemon, but when the server restarts I get the following issue:

 

/jiraTest/jira-getting-started/node_modules/ngrok/index.js:175

api.post(

    ^

 

TypeError: Cannot read property 'post' of null

    at Timeout.retry [as _onTimeout] (/Users/alex/Desktop/jiraTest/jira-getting-started/node_modules/ngrok/index.js:175:7)

    at ontimeout (timers.js:436:11)

    at tryOnTimeout (timers.js:300:5)

    at listOnTimeout (timers.js:263:5)

    at Timer.processTimers (timers.js:223:10)

[nodemon] app crashed - waiting for file changes before starting...

 

I got the first set of guidance from here - >

https://bitbucket.org/atlassian/atlassian-connect-express?_ga

 

Thanks!

1 answer

0 votes
Jerome Hurley I'm New Here May 28, 2019

Terminate nodemon with Ctrl+c

then run nodemon again.

ngrok npm module doesn't like nodemon's auto restart for some reason.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

947 views 12 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you