Only for first request and after certain pre-steps the "os error 26" occurs (alpha version)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- deno, tailwindcss, typescript
- Ambito
- backend
Direzione di ricerca
Start by reproducing the first-request failure with the reported deno run -A --watch=static/,routes/ dev.ts command after running deno install --allow-scripts; the stack trace points to routes/index.tsx and Fresh's file route loader. Compare the behavior before and after allowing Tailwind's install scripts. Done means the first request succeeds in dev mode after those steps.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The error in console as it is:
click to expand
Task dev deno run -A --watch=static/,routes/ dev.ts Watcher Process started.🍋 Fresh ready
Local: http://0.0.0.0:9000/ (http://localhost:9000/)GET http://localhost:9000/
TypeError: Text file busy (os error 26)
at file:///home/nik/deno.dev/hft/hft_ui/routes/index.tsx:1:27
at async normalized (https://jsr.io/@fresh/core/2.0.0-alpha.58/src/fs_routes.ts:143:28)
at async normalized (https://jsr.io/@fresh/core/2.0.0-alpha.58/src/commands.ts:146:22)
at async https://jsr.io/@fresh/core/2.0.0-alpha.58/src/commands.ts:282:21
at async Context.fn (https://jsr.io/@fresh/core/2.0.0-alpha.58/src/middlewares/mod.ts:106:24)
at async Context.fn (https://jsr.io/@fresh/core/2.0.0-alpha.58/src/middlewares/mod.ts:106:24)
at async freshServeStaticFiles (https://jsr.io/@fresh/core/2.0.0-alpha.58/src/middlewares/static_files.ts:36:14)
at async Context.fn (https://jsr.io/@fresh/core/2.0.0-alpha.58/src/middlewares/mod.ts:106:24)
at async segmentMiddleware (https://jsr.io/@fresh/core/2.0.0-alpha.58/src/segments.ts:117:16)
at async fn (https://jsr.io/@fresh/core/2.0.0-alpha.58/src/middlewares/mod.ts:106:24)
at async https://jsr.io/@fresh/core/2.0.0-alpha.58/src/app.ts:429:24 {
code: "ERR_MODULE_NOT_FOUND"
}
GET http://localhost:9000/
Steps to reproduce:
- Initially there is no such problem
- Though the warning about
post-install scriptsrelated totailwindcssis present-
The warning in console as it is:
click to expandWarning The following packages contained npm lifecycle scripts (preinstall/install/postinstall) that were not executed: ┠─ npm:@tailwindcss/[email protected] ┃ ┠─ This may cause the packages to not work correctly. ┖─ To run lifecycle scripts, use the `--allow-scripts` flag with `deno install`: deno install --allow-scripts=npm:@tailwindcss/[email protected] Task dev deno run -A --watch=static/,routes/ dev.ts Watcher Process started.
🍋 Fresh ready
Local: http://0.0.0.0:9000/ (http://localhost:9000/)GET http://localhost:9000/
GET http://localhost:9000/
-
- So I run
deno install --allow-scripts - No previous warning, but the stable mentioned earlier error for first ever and only request in dev mode is introduced
- Lingua principale
- TypeScript
- Stelle
- 13.8k
- Fork
- 757
- Merge medio
- 3m
- PR unite (30g)
- 2
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di freshframework/fresh
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
freshframework/fresh#3920 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
freshframework/fresh#3833 ·
-
feat
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
freshframework/fresh#3803 · 1 commento ·
-
Did you stop maintaining it?Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 10/100
freshframework/fresh#3918 · 1 commento · 4 reazioni ·
-
Tab title doesn't update to <Head> <title> when navigating to a page with another <title>Forse già presa @1AbdullahButt l’ha presa 8 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 57/100
freshframework/fresh#3916 ·
Tutte le issue di freshframework/fresh
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
software-mansion/argent#1946 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
podman-desktop/podman-desktop#20216 ·
I maintainer di solito rispondono entro 1 giorno
-
[Type] Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
WordPress/ai#1386 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
omdsh-dev/DSH-better-sidebar#1205 ·
I maintainer di solito rispondono entro 3 giorni