Error when trying JIRA Hello World for npm start (Atlassian Connect Express)

Hello, 

I am new to JIRA development. I wanted to create a Hello World plugin using Atlassian Connect Express framewok. I followed the steps as shows in : https://developer.atlassian.com/cloud/jira/platform/build-a-jira-add-on-using-a-framework/ 

I am getting some errors which I cannot resolve.

When I run 

npm start

the following error is generated. 

Unhandled error: SyntaxError: Unexpected character '“'
    at JS_Parse_Error.get (eval at <anonymous> (/Users/shaikhjeeshankabeer/Documents/atlassian-cloud-test/jira-getting-started/node_modules/uglify-js/tools/node.js:27:1), <anonymous>:86:23)
    at /Users/shaikhjeeshankabeer/Documents/atlassian-cloud-test/jira-getting-started/node_modules/atlassian-connect-express/lib/index.js:26:45
    at Object.trigger (/Users/shaikhjeeshankabeer/Documents/atlassian-cloud-test/jira-getting-started/node_modules/rsvp/dist/rsvp.js:245:13)
    at Timeout._onTimeout (/Users/shaikhjeeshankabeer/Documents/atlassian-cloud-test/jira-getting-started/node_modules/rsvp/dist/rsvp.js:568:47)
    at ontimeout (timers.js:386:14)
    at tryOnTimeout (timers.js:250:5)
    at Timer.listOnTimeout (timers.js:214:5)

Can someone please let me know what to do or how to resolve this error.

TIA

 

1 answer

Hi Shaikh,

I don't see that error when I follow the steps on that page. It looks like you just have a stray " character somewhere, possibly in your config.json file. Have you made any changes to the template after you created it? If so, can you paste those changes here?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Uncategorized

Friday fun: how many celebrates Midsummer holiday or is this a Swedish tradition only?

Any other country that celebrates Midsummer holiday (this friday 22 June)?  

46 views 3 1
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