Skip to content

Quarto Preview fails to load #9158

@bensoltoff

Description

@bensoltoff

System details:

Positron and OS details:

Positron Version: 2025.08.0 build 130
Code - OSS Version: 1.102.0
Commit: 76ddce5
Date: 2025-08-01T20:08:51.894Z
Electron: 35.6.0
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Darwin arm64 24.6.0

Session details:

R 4.5.1
Quarto 1.7.33

Describe the issue:

I have sporadic issues getting the Quarto: Preview feature to work. In some workspaces it works fine, but in one workspace I cannot get it to work. I've been trying to pin down a reproducible example but it seems specific to this one workspace (it's a private Git repo which I cannot share publicly). The workspace is also a Quarto Project with a _quarto.yml file.

Steps to reproduce the issue:

  1. Create a blank Quarto document in the workspace. I used
---
title: "Untitled"
format: html
---
  1. Attempt to preview the document (from the command palette "Quarto: Preview").

Expected or desired behavior:

Generate a live preview of the document.

Were there any error messages in the UI, Output panel, or Developer Tools console?

The terminal produces this output:

bcs88@COECIS-HJGTG2FW6P assessments % quarto preview /Users/bcs88/Projects/info-5001/assessments/test.qmd --no-browser --no-watc
h-inputs --output-dir /var/folders/y5/0kt9x9qd2f13mtkqx3w0lh9r0000gr/T/tmp-90099-HMq5LbGjatkR --embed-resources
ERROR: NotFound: No such file or directory (os error 2): stat '/Users/bcs88/Projects/info-5001/assessments/.quarto/quarto-session-temp224ca9296dcceba6'

Stack trace:
    at Object.statSync (ext:deno_fs/30_fs.js:425:3)
    at createWalkEntrySync (file:///Applications/quarto/bin/quarto.js:2028:23)
    at walkSync (file:///Applications/quarto/bin/quarto.js:2134:15)
    at walkSync.next (<anonymous>)
    at advanceMatch (file:///Applications/quarto/bin/quarto.js:2257:20)
    at advanceMatch.next (<anonymous>)
    at expandGlobSync (file:///Applications/quarto/bin/quarto.js:2273:24)
    at expandGlobSync.next (<anonymous>)
    at expandGlobs (file:///Applications/quarto/bin/quarto.js:5114:24)
    at resolveGlobs (file:///Applications/quarto/bin/quarto.js:5192:26)

I checked the .quarto folder and a quarto-session-temp* folder has been generated, but it has a different hash value. If I attempt to run the same shell command from the Terminal app outside of Positron it works correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    info neededWaiting on information

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions