✘ [ERROR] Failed to write to log file Error: EROFS: read-only file system, open '<local-path>'

      at async open (node:internal/fs/promises:636:25)
      at async writeFile (node:internal/fs/promises:1205:14)
      at async <course-repository>/node_modules/wrangler/wrangler-dist/cli.js:62963:7
      at async Mutex.runWith (<course-repository>/node_modules/miniflare/dist/src/index.js:54768:16)
      at async appendToDebugLogFile (<course-repository>/node_modules/wrangler/wrangler-dist/cli.js:62960:3) {
    errno: -30,
    code: 'EROFS',
    syscall: 'open',
    path: '<local-path>'
  }


✘ [ERROR] Would have written:

  --- 2026-09-11T06:12:16.132Z debug
  🪵  Writing logs to "<local-path>"
  ---



 ⛅️ wrangler 4.130.0
────────────────────

▲ [WARNING] A fetch request failed, likely due to a connectivity issue.


  Common causes:
    - No internet connection or network connectivity problems
    - Firewall or VPN blocking the request
    - Network proxy configuration issues

  Please check your network connection and try again.


✘ [ERROR] fetch failed


If you think this is a bug then please create an issue at https://github.com/cloudflare/workers-sdk/issues/new/choose
Note that there is a newer version of Wrangler available (4.131.0). Consider checking whether upgrading resolves this error.
🪵  Logs were written to "<local-path>"
