-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
http-collect solution cannot be verified #54
Comments
looks like you might have a stale process running in the background, try |
I have no other node processes running and I rerun the |
I also seem to have the same Issue with the Juggling-async solution |
I Think it may be an issue with the network proxy as I had the same issue running the following myself http.get('http://www.google.com/index.html', function(res) {
console.log("Got response: " + res.statusCode);
}).on('error', function(e) {
console.log("Got error: " + e.message);
}); I had to change the above to the following where our company proxy is http.get({ host: 'http.proxy.somewhere.com', path:'http://www.google.com/index.html', port: 1234}, function(res) {
console.log("Got response: " + res.statusCode);
}).on('error', function(e) {
console.log("Got error: " + e.message);
}); I realise this is probably not a bug, at least not with learnyounode (possibly more so with Node itself) but how might I get around it |
Hi @jonniedarko, It would not be a proxy issue as its not calling out anywhere when verifying. The solution.js requires the npm module Try You may run into issues with npm if you're behind a proxy. Run this command to set the proxy for npm: |
Hi @Flet , looks like that was the Issue, I was pretty sure that I had installed bl globally thought, so not sure why that didn't work but I tried it with a local install and it solved my problem |
You try: var http = require('http')
|
When running the solution provided here I get the following output
The text was updated successfully, but these errors were encountered: