Skip to content

Create New Workspace button not working in production build (Windows) #2

Description

@CBYeuler

Bug Report

Environment

  • OS: Windows 10/11
  • Build: npm run tauri build (NSIS installer)
  • Version: v0.2.0

Description

The "Create New Workspace" button on the home screen does not work
in the production build on Windows. The same functionality works
correctly in development mode (npm run tauri dev).

Steps to Reproduce

  1. Install bismuth_0.1.0_x64-setup.exe
  2. Launch Bismuth
  3. Click "Create New Workspace"
  4. Type a workspace name
  5. Click "Create"

Expected Behavior

Workspace is created in C:\Users\user\Documents\Bismuth
and editor screen opens.

Actual Behavior

Nothing happens. No error shown. No workspace created.

Notes

  • invoke('create_workspace') appears to fail silently
  • Works correctly in dev mode
  • createWorkspace path resolves correctly to C:\Users\user\Documents\Bismuth
  • devtools: true in tauri.conf.json not enabling right-click inspect in production

Suspected Cause

Tauri IPC invoke calls may not be initializing correctly before
the React component mounts in the production bundle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions