Skip to content

impit couldn't load native bindings. #74

Closed as duplicate of#9
Closed as duplicate of#9
@tocha688

Description

@tocha688

C:\Codes\nodejs\cc-test\node_modules\impit\index.wrapper.js:6
throw new Error(`
^

Error:
impit couldn't load native bindings.

This can have several reasons:

  • The native bindings are not compiled for your platform (win32-x64).
  • You skipped installation of optional dependencies (using e.g. npm i --omit=optional).
    While the main package (impit) still installs, your package manager will skip installing the prebuilt native bindings for your platform.
    If you still want to skip installing other optional dependencies, please install the native bindings for your platform as a direct dependency of your project.
  • You are using a non-standard Node.js runtime (e.g. Deno, Bun, Cloudflare workers etc.) that might not support native modules.

Run your script with IMPIT_VERBOSE=1 environment variable to get more information about the error.

at Object.<anonymous> (C:\Codes\nodejs\cc-test\node_modules\impit\index.wrapper.js:6:11)
at Module._compile (node:internal/modules/cjs/loader:1692:14)
at Object..js (node:internal/modules/cjs/loader:1824:10)
at Module.load (node:internal/modules/cjs/loader:1427:32)
at Module._load (node:internal/modules/cjs/loader:1250:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at cjsLoader (node:internal/modules/esm/translators:316:5)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:208:7)
at ModuleJob.run (node:internal/modules/esm/module_job:370:25)

Node.js v24.4.0

Metadata

Metadata

Assignees

Labels

t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions