Skip to content

Build error: "exited with code 1" #13

@lcpdecastro

Description

@lcpdecastro

I currently have a project that I'm trying to turn into an EXE that uses Bun's native SQLite driver and Drizzle ORM. Building the project results in an error at the end of the build script:

error during build:
undefined
error: script "build" exited with code 1

However, the generated EXE otherwise works fine. I'm concerned that there might actually be an error during the build process that I'm just not encountering because of the nature of the app I'm making. I mention that I'm using Bun SQLite and Drizzle ORM because they might be causing the problem, but I can't be sure.

This happens even on the SvelteKit minimal template made with sv create, which I've recreated here (note that some of the scripts have been adjusted to force Vite to use Bun; otherwise, it still calls Node when running the app, causing errors when trying to import bun:sqlite).

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