Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

"Update ngrok to >= 3.0 version" error

Hi

I'm trying to learn how to write jira apps and I try to follow the Jira Activity tutorial that is available here: Jira activity (atlassian.com)

When I get to the point "Run the app" and type "npm start" command I get following errors:

c:\projects\jira-activity>npm start

> my-app@0.0.1 start c:\projects\jira-activity
> node -r esm app.js

morgan deprecated default format: use combined format node_modules\esm\esm.js:1:278827
Watching atlassian-connect.json for changes
App server running at http://ZAPKOMP:3000
Failed to establish local tunnel
err = Error: You must update ngrok to >= 3.0
Error: You must update ngrok to >= 3.0
Error: You must update ngrok to >= 3.0
at c:\projects\jira-activity\node_modules\atlassian-connect-express\lib\internal\registration\register-jira-conf.js:49:38
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at process.runNextTicks [as _tickCallback] (internal/process/task_queues.js:62:3)
at c:\projects\jira-activity\node_modules\esm\esm.js:1:34535
at c:\projects\jira-activity\node_modules\esm\esm.js:1:34176
at process.<anonymous> (c:\projects\jira-activity\node_modules\esm\esm.js:1:34506)
at Function.<anonymous> (c:\projects\jira-activity\node_modules\esm\esm.js:1:296856)
at Function.<anonymous> (c:\projects\jira-activity\node_modules\esm\esm.js:1:296555)
at Function.<anonymous> (c:\projects\jira-activity\node_modules\esm\esm.js:1:284879)
at Object.apply (c:\projects\jira-activity\node_modules\esm\esm.js:1:199341)
at internal/main/run_main_module.js:17:47
Unhandled error: Error: You must update ngrok to >= 3.0
at c:\projects\jira-activity\node_modules\atlassian-connect-express\lib\internal\registration\register-jira-conf.js:49:38
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at process.runNextTicks [as _tickCallback] (internal/process/task_queues.js:62:3)
at c:\projects\jira-activity\node_modules\esm\esm.js:1:34535
at c:\projects\jira-activity\node_modules\esm\esm.js:1:34176
at process.<anonymous> (c:\projects\jira-activity\node_modules\esm\esm.js:1:34506)
at Function.<anonymous> (c:\projects\jira-activity\node_modules\esm\esm.js:1:296856)
at Function.<anonymous> (c:\projects\jira-activity\node_modules\esm\esm.js:1:296555)
at Function.<anonymous> (c:\projects\jira-activity\node_modules\esm\esm.js:1:284879)
at Object.apply (c:\projects\jira-activity\node_modules\esm\esm.js:1:199341)
at internal/main/run_main_module.js:17:47

Perhaps newer ngrok is needed (I have version 2.3.35) but I don't see it on the ngrok website.


I'm using CMD ran as Administrator to run it.

I found on internet that the reason could be that the nodejs is not started yet. When put in webbrowser http://ZAPKOMP:3000 I can see the content of the atlassian-connect.json file.

When I change directory to c:\projects\jira-activity\node_modules\ngrok\bin> and type ngrok http 3000 command it starts without any problem and I can see in webbrowser it works.

Few more info:

npm -v -> 6.14.8

node -v -> v14.15.1

 

I would appreciate any help with this.

1 answer

1 accepted

0 votes
Answer accepted

I've been playing with this more and finally the instruction from Build a Jira app using a framework (atlassian.com) worked as they suppose to.

So it looks, that when I skip steps:

npm install --save sqlite3

and

npm install --save-dev ngrok@2

then the rest from Jira activity (atlassian.com) works as it should. Not sure what I'll be missing down the road thought.

Anyway, I thought someone might find it useful.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,071 views 8 28
Join discussion

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