Skip to content

bridge-js command fails on 6.3: no such module 'SwiftBasicFormat' #692

Description

@sliemeobn

on macOS with 6.3-snapshot-2026-02-27

$ swift package bridge-js

JavaScriptKit/Sources/BridgeJSTool/BridgeJSCore/ClosureCodegen.swift:1:8: error: no such module 'SwiftBasicFormat'
  1 | import SwiftBasicFormat
    |        `- error: no such module 'SwiftBasicFormat'
  2 | import SwiftSyntax
  3 | import SwiftSyntaxBuilder

Activity

  1. sliemeobn commented on Mar 25, 2026

    @sliemeobn
    ContributorAuthor

    seems to work with 6.3 release version. closing...

  2. sliemeobn commented on Apr 2, 2026

    @sliemeobn
    ContributorAuthor

    reopening: it actually does still fail with the same error, but it typically works after one failed attempt.
    most likely some weird SwiftPM swift-syntax dependency build order / caching thing...

    after rm -rf .build the command fails again (at least once)

  3. changed the title [-]bridge-js command fails on 6.3-snapshot: `no such module 'SwiftBasicFormat'`[/-] [+]bridge-js command fails on 6.3: `no such module 'SwiftBasicFormat'`[/+] on Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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