node-gyp icon indicating copy to clipboard operation
node-gyp copied to clipboard

gyp http 404 fail

Open Fjandin opened this issue 9 years ago • 1 comments

After upgrading to node 8 i get this error when i do a yarn

error /app/node_modules/libpq: Command failed.
Exit code: 1
Command: sh
Arguments: -c node-gyp rebuild
Directory: /app/node_modules/libpq
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp http GET https://nodejs.org/download//v8.1.1/node-v8.1.1-headers.tar.gz
gyp http 404 https://nodejs.org/download//v8.1.1/node-v8.1.1-headers.tar.gz
gyp WARN install got an error, rolling back install

Not sure wether this has something to do with gyp or libpq

But i know for a fact that https://nodejs.org/download//v8.1.1/node-v8.1.1-headers.tar.gz does indeed not exist but https://nodejs.org/download/release/v8.1.1/node-v8.1.1-headers.tar.gz exists. Note the missing /release/

Fjandin avatar Jun 15 '17 09:06 Fjandin

See https://github.com/nodejs/node/issues/13667 for cause and workaround. The next node release will have a proper download URL again. I'll close this out, cheers.

bnoordhuis avatar Jun 15 '17 09:06 bnoordhuis