jira-cli icon indicating copy to clipboard operation
jira-cli copied to clipboard

Trouble installing after cloning

Open guiroliveira opened this issue 3 years ago • 1 comments

I cloned the project and when I run "npm install" I get an error when babel is being executed:

` rimraf lib && babel src --out-dir lib

src/boards.js -> lib/boards.js src/config.js -> lib/config.js src/index.js -> lib/index.js SyntaxError: src/issues.js: Unexpected token, expected ; (502:31) 500 | * Add comment to issue 501 | */ 502 | addComment( issueId, comment ){ | ^ 503 | return jira.api.addComment( issueId, comment ).then(function (res) { 504 | console.log(' Issue ' + issueId + ' successfully updated with comment:\n ' + comment); 505 | }).catch(function (err) { ` I wanted to add some options that are in my jira environment, but I'm having trouble compiling the project :/

Are there any place where I can see the steps required to run the project when you clone it?

guiroliveira avatar Sep 22 '20 17:09 guiroliveira

@guiroliveira, my last PR broke master. The PR above should fix the issue. (You can remove the stray curly brace on your local repo to fix the issue as well.)

iinuwa avatar Dec 17 '20 22:12 iinuwa