-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Reported by: Aiko (via Rick McGeer)
Summary:
Lively intermittently fails to fetch [email protected]!cjs
from jspm.dev during the freezing process. This affects packaging Lively applications into standalone artifacts, leading to unreliable builds unless manually retried.
Symptoms:
[lively.freezer]: Error fetching https://jspm.dev/npm:[email protected]!cjs. Retrying...
The error occurs sporadically, and retrying almost always resolves it, but introduces unnecessary friction in automated or CI-based workflows.
Suggested Improvements:
- Add retry logic with exponential backoff to the freezer
- Support fallback CDNs like esm.sh or skypack.dev
- Optionally allow pinning alternate URLs via import maps for known-flaky packages
- Consider caching flaky modules locally after the first successful freeze
Workaround:
Switching to:
import { Map } from "https://esm.sh/[email protected]";
...appears to avoid the issue entirely.
Reproduce Steps:
- Freeze a Lively world that imports immutable
- Observe intermittent fetch failure from jspm.dev
- Retry manually to recover
Let us know if a patch to the freezer would be welcome — we're happy to contribute.
Observed on c725a77, Windows/Linux, but this occurs everywhere.
Metadata
Metadata
Assignees
Labels
No labels