Skip to content

Mismatch version between nodejs and nodejs headers.tar.gz #1680

@f-w

Description

@f-w

Output excerpt of npm i lame. Notice node-gyp is expecting v10.15.0 of headers.tar.gz, while nodejs is on v10.15.1

> [email protected] install /opt/app-root/src/node_modules/lame
> node-gyp rebuild

gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp ERR! UNCAUGHT EXCEPTION
gyp ERR! stack Error: ENOENT: no such file or directory, open '/usr/share/node/node-v10.15.0-headers.tar.gz'
gyp ERR! System Linux 4.9.93-boot2docker
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules.bundled/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /opt/app-root/src/node_modules/lame
gyp ERR! node -v v10.15.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! This is a bug in `node-gyp`.
gyp ERR! Try to update node-gyp and file an Issue if it does not help:
gyp ERR!     <https://github.com/nodejs/node-gyp/issues>

File /usr/share/node/node-v10.15.0-headers.tar.gz doesn't exist, however /usr/share/node/node-v10.15.1-headers.tar.gz does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions