Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

npm install fails on node LTS version >10.x #103

Description

@chrisjenningsOS

I attempted to install on the two latest node LTS branches, v14.16.0 and v12.21.0, and installation failed in both cases.

node-pre-gyp WARN Pre-built binaries not found for gdal@0.9.9 and node@12.17.0 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
... which after a long process of compilation it eventually fails with

Failed to execute '/home/cjennings/.nvm/versions/node/v12.17.0/bin/node /home/cjennings/.nvm/versions/node/v12.17.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/home/cjennings/.nvm/versions/node/v12.17.0/lib/node_modules/@mapbox/mapbox-upload-validate/node_modules/gdal/lib/binding/node-v72-linux-x64/gdal.node --module_name=gdal --module_path=/home/cjennings/.nvm/versions/node/v12.17.0/lib/node_modules/@mapbox/mapbox-upload-validate/node_modules/gdal/lib/binding/node-v72-linux-x64 --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! gdal@0.9.9 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the gdal@0.9.9 install script.

It ran successfully on v10.24.0. Is there a dependency on this version of node? Maintenance on this version ends April '21

2021-03-04T17_10_16_736Z-debug.log

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