Skip to content

No native build was found for runtime=electron abi=115 platform=linuxglibc arch=x64 #71

@mjames-c

Description

@mjames-c

I'm attempting to use pprof-it to profile the TypeScript language server (TS v5). I get the error below which I believe means it needs to be built for the Electron runtime env:

Error: No native build was found for runtime=electron abi=115 platform=linuxglibc arch=x64
    at load.path (/home/coder/.local/lib/node_modules/pprof-it/node_modules/node-gyp-build/index.js:59:9)
    at load (/home/coder/.local/lib/node_modules/pprof-it/node_modules/node-gyp-build/index.js:19:30)
    at Object.<anonymous> (/home/coder/.local/lib/node_modules/pprof-it/node_modules/@datadog/pprof/out/src/heap-profiler-bindings.js:44:18)
    at Module._compile (node:internal/modules/cjs/loader:1529:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1613:10)
    at Module.load (node:internal/modules/cjs/loader:1275:32)
    at Module._load (node:internal/modules/cjs/loader:1096:12)
    at Module.require (node:internal/modules/cjs/loader:1298:19)
    at require (node:internal/modules/helpers:182:18)
    at Object.<anonymous> (/home/coder/.local/lib/node_modules/pprof-it/node_modules/@datadog/pprof/out/src/heap-profiler.js:19:34)

How hard would it be to add this? any suggested workarounds?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions