Atlassian Connect Express - Error on startup

I am trying to get a first ACE plugin running. After the following sequence of commands I can only get an error during startup. What am I doing wrong?

  1. atlas-connect new my-plugin
  2. npm install
  3. Edit credentials.json to my cloud Confluence instance
  4. npm start

Error is:

> node app.js

Watching atlassian-connect.json for changes
Add-on server running at http://my-box-here.local:3000
Initialized sqlite3 storage adapter
Local tunnel established at
Check for tunnel status
Registering add-on...

SyntaxError: Unexpected end of input
    at Object.parse (native)
    at Request._callback (/my-plugin/node_modules/atlassian-connect-express/lib/internal/registration/register-jira-conf.js:168:25)
    at Request.self.callback (/my-plugin/node_modules/atlassian-connect-express/node_modules/request/request.js:188:22)
    at emitTwo (events.js:87:13)
    at Request.emit (events.js:172:7)
    at Request.<anonymous> (/my-plugin/node_modules/atlassian-connect-express/node_modules/request/request.js:1171:10)
    at emitOne (events.js:77:13)
    at Request.emit (events.js:169:7)
    at IncomingMessage.<anonymous> (/my-plugin/node_modules/atlassian-connect-express/node_modules/request/request.js:1091:12)
    at IncomingMessage.g (events.js:260:16)
    at emitNone (events.js:72:20)
    at IncomingMessage.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:923:12)
    at nextTickCallbackWith2Args (node.js:511:9)
    at process._tickCallback (node.js:425:17)

nvm is running node lts/argon @4.8.3

What is ticking me off is, that I am trying to register in a Confluence instance and register-jira-conf.js is throwing the error.

1 answer

1 accepted

0 votes
Answer accepted

I am not sure how it was actually connected but installing the needed build tooling for npm and 'npm install'ing freshly solved the problem.

Build tooling can be installed with 'npm install --global --production windows-build-tools'

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,034 views 2 13
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