Atlassian Connect Express - Error on startup

ClemensJ May 11, 2017

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 https://4dc62f1f.ngrok.io/
Check http://127.0.0.1:4040 for tunnel status
Registering add-on...
undefined:1



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
Clemens Jütte May 16, 2017

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
TAGS
AUG Leaders

Atlassian Community Events