swiftwasm / swiftwasm/JavaScriptKit

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

Open
#692 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
986
Forks
76
Avg merge
21h 11m
Merged PRs (30d)
4

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running swift package bridge-js on macOS with Swift 6.3 and inspect JavaScriptKit/Sources/BridgeJSTool/BridgeJSCore/ClosureCodegen.swift, where the missing module is imported. Trace the package's SwiftSyntax-related dependencies and verify that the command completes without the SwiftBasicFormat error.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.