Skip to content

No native build found for Electron #2998

@BryanHunt

Description

@BryanHunt

SerialPort Version

13.0.0

Node Version

22.14.0

Electron Version

35.0.1

Platform

Darwin Bryans-MacBook-Pro-9.local 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:16 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6000 arm64

Architecture

ARM

Hardware or chipset of serialport

No response

What steps will reproduce the bug?

Create a new project with ElectronForge
Add code to list the serial ports
Start the application

What happens?

App threw an error during load
Error: No native build was found for platform=darwin arch=arm64 runtime=electron abi=133 uv=1 armv=8 libc=glibc node=22.14.0 electron=35.0.1
loaded from: /Users/bhunt/Development/Experimental/electron/.vite

at load.resolve.load.path (/Users/bhunt/Development/Experimental/electron/.vite/build/main.js:2569:11)
at load (/Users/bhunt/Development/Experimental/electron/.vite/build/main.js:2537:33)
at Object.<anonymous> (/Users/bhunt/Development/Experimental/electron/.vite/build/main.js:2701:59)
at Module._compile (node:internal/modules/cjs/loader:1569:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1722:10)
at Module.load (node:internal/modules/cjs/loader:1296:32)
at Module._load (node:internal/modules/cjs/loader:1115:12)
at c._load (node:electron/js2c/node_init:2:18008)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:227:24)

What should have happened?

Application should have displayed the list of serial ports

Additional information

I've tried several incantations of rebuild, but I can't seem to get it to work.

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