Closed mildfuzz closed 8 years ago
Same issue here.
slumber:api GET +4ms https://git.xxxxxx.xxxxxxxx/api/v3/projects/87/milestones?page=1&per_page=100
[Error: write after end]
looks like this is a node version issue.
Tested with 6.2.1, 5.0.0, 4.0.0 and 0.11.3
Only working with 0.11.3
It worked well in 5.10.1 but it doesn't, now. Is it a gitlab upgrade fault ?
Gitlab version 5.10.1? or Node? I am talking about Node versions
I'm talking about node version. Gitlab is in 8.9.4
ahh, okay. I tested that version of node too, but did not work for me.
It doesn't for me, too. But It worked last week. In between, we've upgraded our gitlab to the 8.9.4, that's why I thought it could be the cause of this. Which version of Gitlab do you use ?
I have the same issue. We are using GitLab on gitlab.com and this version is 8.9.5-ee (42dceaa).
So after some quick debugging it appears to be that slumber has been updated and the deps of node-gitlab have it as >=0.7.0 in package.json
Pinning it at 0.7.0 it works as expected so this is a bug/feature from npm installing a newer version due to the relaxed semver version dependencies.
Edit: 0.9.0 also seems to work as well. So Ill throw together a quick pr.
Well, luckily we know the developer of slumber quite well so we shall ask him why he has broken it :) @moul Why have you broken it? :D
good chat ;)
:)
Hi, this still happening. I Use node-gitlab in conjunction with node:8.1.2 docker image. I've updated the slumber to all of 0.7.0, 0.7.1, 0.9.0, 0.11.0 but it still is not working.
Same issue but only when the server is not reachable.
lifting my code pretty much straight from the readme:
yields the following error:
I am able to hit the API in my browser directly.