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!

0 answers

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 Apr 09, 2019 in Portfolio for Jira

Portfolio for Jira 3.0 is here!

The wait is over... Portfolio for Jira Server and Data Center 3.0 is now officially here! Platform releases offer Atlassian an opportunity to shift our strategy, make bold predictions about t...

1,401 views 14 26
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you