Skip to content

Conversation

@aymather
Copy link
Contributor

I was getting errors from http response headers that had numeric values. Turns out this was fixed in the servie package a little while back, just needed to update it from 4.2.1 to 4.3.1

@samuelmr
Copy link
Owner

Thanks for the PR!

Instead of modifying package-lock.json directly, can you check what's the dependency path to servie? I'd rather update the versions of direct dependencies in package.json.

The oura package works for me without errors. Can you describe the issue you had with response headers?

@aymather
Copy link
Contributor Author

Screen Shot 2019-09-26 at 12 55 16 PM

This was the issue I was having with http responses. I investigated and found that the headers were returning "number" types like this:

Screen Shot 2019-09-26 at 12 56 36 PM

I talked to the creator of servie and he said that was fixed in the v4.3 update. When I updated the package from v4.2.1 to v4.3.1 I was able to get it working again.

I don't know which dependency is leaning on servie. I can do some investigating!

@aymather
Copy link
Contributor Author

Ok so to be honest I don't really know what you mean by "dependency path." But I realized that I didn't have to modify the package-lock.json directly, you can fix the problem by deleting the package-lock.json and running npm install which will make the necessary modifications. Essentially doing the same thing as changing it manually though.

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

Successfully merging this pull request may close these issues.

2 participants