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

0 votes
Jake Furler Atlassian Team May 22, 2017

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
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

132 views 6 8
View post

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