Hi All,
I'm to trying to intergrate JIRA with twitter. For a particular hashtag, a ticket should be created in JIRA. I was going through the below link for the same.
https://bitbucket.org/atlassianlabs/jira-servicedesk-twitter-example/src/master/
Since this code code was developed around 4 years ago, I'm facing issues in setting up. Though one by I'm trying to resolve the issue. Earlier npm install was failing and giving below error.
ngrok - downloading binary https://bin.equinox.io/a/chRZWPptE7w/ngrok-2.1.1-windows-amd64.zip ...
ngrok - binary downloaded...
ngrok - error unpacking binary Error: You cannot extract a file outside of the target path
at C:\Users\Ashish\Downloads\JIRATweet\node_modules\decompress-zip\lib\decompress-zip.js:95:21
at Array.map (<anonymous>)
at C:\Users\Ashish\Downloads\JIRATweet\node_modules\decompress-zip\lib\decompress-zip.js:91:25
at _fulfilled (C:\Users\Ashish\Downloads\JIRATweet\node_modules\q\q.js:854:54)
at C:\Users\Ashish\Downloads\JIRATweet\node_modules\q\q.js:883:30
at Promise.promise.promiseDispatch (C:\Users\Ashish\Downloads\JIRATweet\node_modules\q\q.js:816:13)
at C:\Users\Ashish\Downloads\JIRATweet\node_modules\q\q.js:624:44
at runSingle (C:\Users\Ashish\Downloads\JIRATweet\node_modules\q\q.js:137:13)
at flush (C:\Users\Ashish\Downloads\JIRATweet\node_modules\q\q.js:125:13)
at processTicksAndRejections (internal/process/task_queues.js:79:11)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ngrok@2.1.7 postinstall: `node ./postinstall.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ngrok@2.1.7 postinstall script
After updating dependencies with recent version
internal/modules/cjs/loader.js:960
throw err;
^
Error: Cannot find module 'body-parser'
Require stack:
- C:\Users\Ashish\Downloads\JIRATweet\app.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
at Function.Module._load (internal/modules/cjs/loader.js:840:27)
at Module.require (internal/modules/cjs/loader.js:1019:19)
at require (internal/modules/cjs/helpers.js:77:18)
at Object.<anonymous> (C:\Users\Ashish\Downloads\JIRATweet\app.js:7:18)
at Module._compile (internal/modules/cjs/loader.js:1133:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
at Module.load (internal/modules/cjs/loader.js:977:32)
at Function.Module._load (internal/modules/cjs/loader.js:877:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ 'C:\\Users\\Ashish\\Downloads\\JIRATweet\\app.js' ]
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! my-addon@0.0.1 start: `node app.js`
Can someone help. I'm new to node.js.
Dependencies error resolved after adding URL in store for sequelize
"url":"sqlite://localhost/store.db"
Now getting below error after running 'npm Start'
Registering add-on...
Failed to register with host http://localhost:2990/jira
Error: connect ECONNREFUSED 127.0.0.1:2990
Error: connect ECONNREFUSED 127.0.0.1:2990
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16)
Add-on not registered; no compatible hosts detected
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.