Skip to content

llnode failed to install  #396

@PugDeveloper

Description

@PugDeveloper

Hi,
I'm getting this error below, Any help appreciated:

`matchapug@MRPUG:/mnt/c/Windows/system32$ npm install -g llnode

> llnode@3.2.0 preinstall /home/matchapug/.nvm/versions/node/v14.18.1/lib/node_modules/llnode
> node scripts/configure.js

Build dir is: /home/matchapug/.nvm/versions/node/v14.18.1/lib/node_modules/llnode
Looking for lldb executable...
Found lldb executable /usr/bin/lldb

Reading lldb version...
Installing llnode for /usr/bin/lldb, lldb version 10.0

Looking for llvm-config for lldb 10.0...
Using llvm-config in /usr/bin/llvm-config

Looking for headers for lldb 10.0...
Could not find the headers, will download them later

Looking for shared libraries for lldb 10.0...
From ldd: /usr/bin/lldb loads /lib/x86_64-linux-gnu/liblldb-10.so.1
Found liblldb-10.so in /lib/x86_64-linux-gnu

Cloning lldb release_100 into /home/matchapug/.nvm/versions/node/v14.18.1/lib/node_modules/llnode/lldb-10.0
Cloning into '/home/matchapug/.nvm/versions/node/v14.18.1/lib/node_modules/llnode/lldb-10.0'...
warning: Could not find remote branch release_100 to clone.
fatal: Remote branch release_100 not found in upstream origin
child_process.js:830
    throw err;
    ^

Error: Command failed: git clone --depth 1 --branch release_100 https://github.com/llvm-mirror/lldb.git /home/matchapug/.nvm/versions/node/v14.18.1/lib/node_modules/llnode/lldb-10.0
    at checkExecSyncError (child_process.js:790:11)
    at Object.execFileSync (child_process.js:827:15)
    at Object.cloneHeaders (/home/matchapug/.nvm/versions/node/v14.18.1/lib/node_modules/llnode/scripts/lldb.js:47:19)
    at configureInstallation (/home/matchapug/.nvm/versions/node/v14.18.1/lib/node_modules/llnode/scripts/configure.js:89:25)
    at main (/home/matchapug/.nvm/versions/node/v14.18.1/lib/node_modules/llnode/scripts/configure.js:12:34)
    at Object.<anonymous> (/home/matchapug/.nvm/versions/node/v14.18.1/lib/node_modules/llnode/scripts/configure.js:20:1)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12) {
  status: 128,
  signal: null,
  output: [ null, null, null ],
  pid: 304,
  stdout: null,
  stderr: null
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! llnode@3.2.0 preinstall: `node scripts/configure.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the llnode@3.2.0 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/matchapug/.npm/_logs/2021-11-09T03_01_36_875Z-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