Only for first request and after certain pre-steps the "os error 26" occurs (alpha version)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- deno, tailwindcss, typescript
- Domain
- backend
Research direction
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.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- TypeScript
- Stars
- 13.8k
- Forks
- 757
- Avg merge
- 3m
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from freshframework/fresh
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
freshframework/fresh#3920 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
freshframework/fresh#3833 ·
-
feat
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
freshframework/fresh#3803 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
freshframework/fresh#3918 · 1 comment · 4 reactions ·
-
Tab title doesn't update to <Head> <title> when navigating to a page with another <title>Possibly taken @1AbdullahButt claimed this 7 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 57/100
freshframework/fresh#3916 ·
All issues in freshframework/fresh
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tintinweb/pi-subagents#459 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
danielmiessler/LifeOS#2830 ·
Maintainers usually reply within 6 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
area: client enhancement priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
opensro-dev/opensro#3681 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day