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
Accepted answer

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
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,521 views 25 14
Join discussion

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