Can't run lit.dev on windows
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 142
- Forks
- 230
- PR merge metrics
- No merged PRs in 30d
Description
When trying to run `build` the script fails when running the `fonts:manrope` script
- rm (does not exist on windows)
- cp (does not exist on windows)
- mkdir -p (invalid syntax on windows)
I fixed those by changing the command by node scripts/fonts.js
After that some error with samples (D:\Workspace\lit\lit.dev\packages\lit-dev-content\samples\js\_check-code-helpers.ts) is in a wrong path or the scipt is searching the wrong one

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the `build` command on Windows and inspect the `fonts:manrope` script, including `scripts/fonts.js`, where the issue identifies Unix-only commands. Then trace the sample-related failure at `packages/lit-dev-content/samples/js/_check-code-helpers.ts` and compare the path being searched with the path shown in the error. Done means the build completes on Windows, including font processing and sample checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100