callstack / callstack/super-app-showcase

Running pnpm start on Windows with @callstack/repack@5.2.0

Open
#166 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
637
Forks
131
PR merge metrics
No merged PRs in 30d

Description

**Environment**
- OS: Windows 11
- Node: v22.16.0
- pnpm: 9.15.3
- `@callstack/repack`: 5.2.3
- `react-native`: 0.78.2

---

**Background**

Running `pnpm start` on Windows with `@callstack/repack@5.2.0` throws:

```
Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data,
and node are supported by the default ESM loader. On Windows, absolute paths
must be valid file:// URLs. Received protocol 'c:'
```

This is fixed by upgrading to `@callstack/repack@5.2.3` (see callstack/repack#1290 and callstack/repack#1302). After upgrading, `pnpm start` works correctly.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.