Skip to content
This repository was archived by the owner on Dec 2, 2026. It is now read-only.
This repository was archived by the owner on Dec 2, 2026. It is now read-only.

npm install fails with "GLIBCXX_3.4.20 not found" when using node-6.6-wheezy docker image. #1131

Closed

Description

@kevinludwig

As stated in title. The error is below:

[nodegit] WARN - Could not finish postinstall
{ Error: Command failed: node /opt/app/node_modules/nodegit/dist/nodegit.js
/opt/app/node_modules/nodegit/dist/nodegit.js:15
    throw ex;
    ^

Error: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /opt/app/node_modules/nodegit/build/Release/nodegit.node)
    at Error (native)
    at Object.Module._extensions..node (module.js:583:18)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/opt/app/node_modules/nodegit/dist/nodegit.js:11:12)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)

    at ChildProcess.exithandler (child_process.js:206:12)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:191:7)
    at maybeClose (internal/child_process.js:877:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
  killed: false,
  code: 1,
  signal: null,
  cmd: 'node /opt/app/node_modules/nodegit/dist/nodegit.js' }

Activity

  1. saper commented on Nov 26, 2016

    @saper
    Collaborator

    Looks like #1150 is the same.

  2. maxkorp commented on Jan 30, 2017

    @maxkorp
    Collaborator

    yeah I know #1150 is duplicate of this, but it has feedback, so I'm going to close this one in lieu of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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