node-jenkins icon indicating copy to clipboard operation
node-jenkins copied to clipboard

Issue when creating SPA

Open robshelly opened this issue 8 years ago • 0 comments

When using this package in standalone node scripts everything works as expected. However, when trying to use it to implement an SPA (I'm using React) it throws the following error:

Uncaught (in promise) TypeError: Cannot read property 'remoteAddress' of undefined
  at module.exports.<anonymous> (client.js:535)
  at module.exports.EventEmitter.emit (events.js:81)
  at module.exports.ClientRequest._connect (request.js:247)
  at request.js:140
  at <anonymous>

Not sure what's causing it so I'm unsure if it's an issue with the node-jenkins package.

robshelly avatar Jan 08 '18 18:01 robshelly