Skip to content

bug: commandkit dev fails with [UNHANDLEABLE_ERROR] Invalid argument (os error 22) #594

@maybeizen

Description

@maybeizen

When running the commandkit dev command, the build process fails immediately with an unhandleable error originating from rolldown.

Error/stack:

Build failed: Error: Build failed with 1 error:

[UNHANDLEABLE_ERROR] Error: Something went wrong inside rolldown, please report this problem at https://github.com/rolldown/rolldown/issues.
Invalid argument (os error 22)

    at aggregateBindingErrorsIntoJsError (file:///media/maybeizen/External/projects/archive/netherhost/nethercore_v2/node_modules/rolldown/dist/shared/src-CPA2meNe.mjs:2485:18)
    at unwrapBindingResult (file:///media/maybeizen/External/projects/archive/netherhost/nethercore_v2/node_modules/rolldown/dist/shared/src-CPA2meNe.mjs:2460:128)
    at RolldownBuild.write (file:///media/maybeizen/External/projects/archive/netherhost/nethercore_v2/node_modules/rolldown/dist/shared/src-CPA2meNe.mjs:4242:33)
    at async build (file:///media/maybeizen/External/projects/archive/netherhost/nethercore_v2/node_modules/rolldown/dist/shared/src-CPA2meNe.mjs:4275:22)
    at async file:///media/maybeizen/External/projects/archive/netherhost/nethercore_v2/node_modules/tsdown/dist/src-Cy1Bj4rU.mjs:1380:24
    at async Promise.all (index 0)
    at async rebuild (file:///media/maybeizen/External/projects/archive/netherhost/nethercore_v2/node_modules/tsdown/dist/src-Cy1Bj4rU.mjs:1372:3)
    at async buildSingle (file:///media/maybeizen/External/projects/archive/netherhost/nethercore_v2/node_modules/tsdown/dist/src-Cy1Bj4rU.mjs:1360:2)
    at async Promise.all (index 0)
    at async build$1 (file:///media/maybeizen/External/projects/archive/netherhost/nethercore_v2/node_modules/tsdown/dist/src-Cy1Bj4rU.mjs:1329:19) {
  errors: [Getter/Setter]
}

Desktop:

  • OS: Linux Mint 22.2
  • Node Version: v24.12.0
  • Package Manager: Bun v1.3.5
  • CommandKit Version: 1.2.0-rc.11

Additional Notes

  • This project is stored on an external SSD formatted as NTFS.

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