Skip to content

[BUG] Error: An error occurred while loading instrumentation hook: Failed to load external module wreq-js #1613

Description

@RAZECLUB

OmniRoute Version

3,7,0

Installation Method

npm (global)

Operating System

Windows

OS Version

Windows 10 22H2

Node.js Version

22.22.2

Provider(s) Involved

No response

Model(s) Involved

No response

Client Tool

No response

Description

C:\Users\da_ki>omniroute


/ __ \ () __ \ | |
| | | |
__ ___ _ __ | |) | _ | | ___
| | | | '_ ` _ \| '_ \ | _ // _ \| | | | / _ \
| |
| | | | | | | | | | | | \ \ () | || | || /
\/|| || ||| |||| \\
/ \,_|\\__|

⏳ Starting server...

▲ Next.js 16.2.4

[CREDENTIALS] No external credentials file found, using defaults.
[DB] Preserved critical DB state before potential recreation: key_value(14), provider_connections(1), api_keys(1)
[DB] SQLite database ready: C:\Users\da_ki.omniroute\storage.sqlite
Failed to prepare server Error: An error occurred while loading instrumentation hook: Failed to load external module wreq-js: Error: Failed to load native module for win32-x64-msvc. Tried: ../rust/wreq-js.win32-x64-msvc.node and ../rust/wreq-js.node. Make sure the package is installed correctly and the native module is built for your platform.
at ignore-listed frames
Error: An error occurred while loading instrumentation hook: Failed to load external module wreq-js: Error: Failed to load native module for win32-x64-msvc. Tried: ../rust/wreq-js.win32-x64-msvc.node and ../rust/wreq-js.node. Make sure the package is installed correctly and the native module is built for your platform.
at ignore-listed frames
⨯ unhandledRejection: Error: An error occurred while loading instrumentation hook: Failed to load external module wreq-js: Error: Failed to load native module for win32-x64-msvc. Tried: ../rust/wreq-js.win32-x64-msvc.node and ../rust/wreq-js.node. Make sure the package is installed correctly and the native module is built for your platform.
at ignore-listed frames
Failed to prepare server Error: An error occurred while loading instrumentation hook: Failed to load external module wreq-js: Error: Failed to load native module for win32-x64-msvc. Tried: ../rust/wreq-js.win32-x64-msvc.node and ../rust/wreq-js.node. Make sure the package is installed correctly and the native module is built for your platform.
at ignore-listed frames
Error: An error occurred while loading instrumentation hook: Failed to load external module wreq-js: Error: Failed to load native module for win32-x64-msvc. Tried: ../rust/wreq-js.win32-x64-msvc.node and ../rust/wreq-js.node. Make sure the package is installed correctly and the native module is built for your platform.
at ignore-listed frames
Error: An error occurred while loading instrumentation hook: Failed to load external module wreq-js: Error: Failed to load native module for win32-x64-msvc. Tried: ../rust/wreq-js.win32-x64-msvc.node and ../rust/wreq-js.node. Make sure the package is installed correctly and the native module is built for your platform.
at ignore-listed frames
Error: An error occurred while loading instrumentation hook: Failed to load external module wreq-js: Error: Failed to load native module for win32-x64-msvc. Tried: ../rust/wreq-js.win32-x64-msvc.node and ../rust/wreq-js.node. Make sure the package is installed correctly and the native module is built for your platform.
at ignore-listed frames
Error: An error occurred while loading instrumentation hook: Failed to load external module wreq-js: Error: Failed to load native module for win32-x64-msvc. Tried: ../rust/wreq-js.win32-x64-msvc.node and ../rust/wreq-js.node. Make sure the package is installed correctly and the native module is built for your platform.
at ignore-listed frames

Steps to Reproduce

omniroute

Expected Behavior

start omniroute ammmmmmmmmmmmmm

Actual Behavior

hz

Test Impact

Needs a new unit test

Error Logs / Output

C:\Users\da_ki>omniroute

   ____                  _ ____              _
   / __ \\                (_) __ \\            | |
  | |  | |_ __ ___  _ __ _| |__) |___  _   _| |_ ___
  | |  | | '_ ` _ \\| '_ \\ |  _  // _ \\| | | | __/ _ \\
  | |__| | | | | | | | | | | | \\ \\ (_) | |_| | ||  __/
   \\____/|_| |_| |_|_| |_|_|_|  \\_\\___/ \\__,_|\\__\\___|

  ⏳ Starting server...

▲ Next.js 16.2.4
- Local:         http://localhost:20128
- Network:       http://0.0.0.0:20128
✓ Ready in 0ms

  ✔ OmniRoute is running!

    Dashboard:  http://localhost:20128
    API Base:   http://localhost:20128/v1

    Point your CLI tool (Cursor, Cline, Codex) to:
    http://localhost:20128/v1

    Press Ctrl+C to stop

[CREDENTIALS] No external credentials file found, using defaults.
[DB] Preserved critical DB state before potential recreation: key_value(14), provider_connections(1), api_keys(1)
[DB] SQLite database ready: C:\Users\da_ki\.omniroute\storage.sqlite
Failed to prepare server Error: An error occurred while loading instrumentation hook: Failed to load external module wreq-js: Error: Failed to load native module for win32-x64-msvc. Tried: ../rust/wreq-js.win32-x64-msvc.node and ../rust/wreq-js.node. Make sure the package is installed correctly and the native module is built for your platform.
    at ignore-listed frames
Error: An error occurred while loading instrumentation hook: Failed to load external module wreq-js: Error: Failed to load native module for win32-x64-msvc. Tried: ../rust/wreq-js.win32-x64-msvc.node and ../rust/wreq-js.node. Make sure the package is installed correctly and the native module is built for your platform.
    at ignore-listed frames
⨯ unhandledRejection:  Error: An error occurred while loading instrumentation hook: Failed to load external module wreq-js: Error: Failed to load native module for win32-x64-msvc. Tried: ../rust/wreq-js.win32-x64-msvc.node and ../rust/wreq-js.node. Make sure the package is installed correctly and the native module is built for your platform.
    at ignore-listed frames
Failed to prepare server Error: An error occurred while loading instrumentation hook: Failed to load external module wreq-js: Error: Failed to load native module for win32-x64-msvc. Tried: ../rust/wreq-js.win32-x64-msvc.node and ../rust/wreq-js.node. Make sure the package is installed correctly and the native module is built for your platform.
    at ignore-listed frames
Error: An error occurred while loading instrumentation hook: Failed to load external module wreq-js: Error: Failed to load native module for win32-x64-msvc. Tried: ../rust/wreq-js.win32-x64-msvc.node and ../rust/wreq-js.node. Make sure the package is installed correctly and the native module is built for your platform.
    at ignore-listed frames
Error: An error occurred while loading instrumentation hook: Failed to load external module wreq-js: Error: Failed to load native module for win32-x64-msvc. Tried: ../rust/wreq-js.win32-x64-msvc.node and ../rust/wreq-js.node. Make sure the package is installed correctly and the native module is built for your platform.
    at ignore-listed frames
Error: An error occurred while loading instrumentation hook: Failed to load external module wreq-js: Error: Failed to load native module for win32-x64-msvc. Tried: ../rust/wreq-js.win32-x64-msvc.node and ../rust/wreq-js.node. Make sure the package is installed correctly and the native module is built for your platform.
    at ignore-listed frames
Error: An error occurred while loading instrumentation hook: Failed to load external module wreq-js: Error: Failed to load native module for win32-x64-msvc. Tried: ../rust/wreq-js.win32-x64-msvc.node and ../rust/wreq-js.node. Make sure the package is installed correctly and the native module is built for your platform.
    at ignore-listed frames

Screenshots

No response

Additional Context

No response

Validation Plan

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions