Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when creating SPA #50

Open
robshelly opened this issue Jan 8, 2018 · 0 comments
Open

Issue when creating SPA #50

robshelly opened this issue Jan 8, 2018 · 0 comments

Comments

@robshelly
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant