Closed marvinhagemeister closed 7 years ago
Sadly, the simplehttp2server npm package is not by me.
Please re-open this issue on the respective repo.
@marvinhagemeister I've posted a workaround here: https://github.com/developit/preact-cli/issues/73
Actually, I have an idea on how to fix this on my end as well.
I believe I have fixed this on my end. npm i simplehttp2server
should work again :)
Thanks for having a look. Just tried again today, but I get the same error as in the original post.
Can you double-check if the problem is exactly the same, because it shouldn’t be. (Also, run npm cache clean
if you haven’t already).
@surma sure, just double checked with both yarn
, npm
and node 7.10 + 8.0.0
. The issue is unfortunately reproducible for all combinations.
Maybe there is something wrong with the binaries itself? The first message is about the binaries not working correctly and than it proceeds to build fresh from source. I'm not familiar at all with go or how they generate the binaries.
The `/myproject/node_modules/simplehttp2server/vendor/simplehttp2server` binary doesn't seem to work correctly
EDIT: whoops, just saw your comment about that here: https://github.com/developit/preact-cli/issues/26#issuecomment-306498318
I'll close this one, since it's already tracked in https://github.com/1000ch/simplehttp2server/issues/2
Yeah, I am aware. That message is a red herring. I can’t reproduce the failure at all.
FWIW, I am working on an upstream fix at 1000ch/simplehttp2server#3.
OS: MacOS Sierra
When installing I always get an exception (found at https://github.com/developit/preact-cli/issues/26):