Skip to content

Tanstack build error #14

@nhuray

Description

@nhuray

Hi,

Thanks for your project, it's really awesome.

I tried to build a vanilla Tanstack Start app doing:

bun create @tanstack/start@latest app

Then I added the dependency:

 bun add -D @jesterkit/exe-tanstac

And updated the package.json:

  "scripts": {
    "dev": "vite dev --port 3000",
    "build": "vite build",
    "postbuild": "exe-tanstack --out dist --binaryName app --target macos-arm64",
    "serve": "vite preview",
    "test": "vitest run"
  },

When I run bun run build I got:

$ exe-tanstack --out dist --binaryName app --target linux-x64
✘ [ERROR] Cannot start service: Host version "0.25.8" does not match binary version "0.27.1"

1 error
Error: The service was stopped
    at file:///Users/nicolas/Workspace/karma/node_modules/.bun/@jesterkit+exe-tanstack@0.1.3+1fb4c65d43e298b9/node_modules/@jesterkit/exe-tanstack/dist/index.js:1262:27
    at responseCallbacks.<computed> (file:///Users/nicolas/Workspace/karma/node_modules/.bun/@jesterkit+exe-tanstack@0.1.3+1fb4c65d43e298b9/node_modules/@jesterkit/exe-tanstack/dist/index.js:911:11)
    at Socket.afterClose (file:///Users/nicolas/Workspace/karma/node_modules/.bun/@jesterkit+exe-tanstack@0.1.3+1fb4c65d43e298b9/node_modules/@jesterkit/exe-tanstack/dist/index.js:901:30)
    at Socket.emit (node:events:530:35)
    at endReadableNT (node:internal/streams/readable:1698:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
error: script "postbuild" exited with code 1

I tried to debug it but I couldn't find the reason for that error.

Any help would be appreciated 👍

Thanks

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