Skip to content

quarto-preview.js missing in quarto 1.7.33 (conda/win64) #13276

@MoonZ

Description

@MoonZ

I have:

  • searched the issue tracker for similar issues
  • installed the latest version of Quarto CLI
  • formatted my issue following the Bug Reports guide

Bug description

New to Quarto, I'm following the Getting Started guide when noticing the preview doesn't automatically refresh.
Terminal in Jupyterlab shows it can't find quarto-preview.js

(os error 2): readfile 'C:\Users\<username>\.conda\envs\quarto\Library\share\quarto\preview\quarto-preview.js'

I checked and indeed the file is not there. Then I checked the conda package I installed (latest version for win64 in conda-forge):

win-64/quarto-1.7.33-h57928b3_0.conda

In the conda-meta folder C:\Users\<username>\.conda\envs\quarto\conda-meta there is the quarto files manifest : quarto-1.7.33-h57928b3_0.json

[...]
    "Library/share/quarto/pandoc/syntax-definitions/scss.xml",
    "Library/share/quarto/pandoc/templates/default.markdown",
    "Library/share/quarto/preview/jats/quarto-jats-html.xsl",
    "Library/share/quarto/preview/jats/quarto-jats-preview.css",
    "Library/share/quarto/preview/quarto-preview.html",
    "Library/share/quarto/projects/book/book.scss",
    "Library/share/quarto/projects/book/cover.png",
[...]

I can confirm this reflects what has been actually deployed, the quarto-preview.js file is indeed missing from it.

Steps to reproduce

My conda base has been updated. I've used this set of instructions to create the environment:

conda create -n quarto python=3.13
conda activate quarto
conda install conda-forge::quarto
conda install conda-forge::jupyterlab
conda install conda-forge::matplotlib
conda install conda-forge::plotly

and then followed the Get Started guide.

Actual behavior

No response

Expected behavior

No response

Your environment

No response

Quarto check output

Quarto 1.7.33
[>] Checking environment information...
      Quarto cache location: C:\Users\<####>\AppData\Local\quarto
[>] Checking versions of quarto binary dependencies...
      Pandoc version 3.6.3: OK
      NOTE: Dart Sass version 1.59.1 does not strictly match 1.85.1 and strict checking is enabled. Please use 1.85.1.
      Deno version 1.46.3: OK
      Typst version 0.13.0: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
      Version: 1.7.33
      Path: C:\Users\<####>\.conda\envs\quarto\Library\bin\
      CodePage: 1252

[>] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)

[>] Checking LaTeX....................OK
      Tex:  (not detected)

[>] Checking Chrome Headless....................OK
      Using: Chrome found on system
      Path: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
      Source: Windows Registry

[>] Checking basic markdown render....OK

[>] Checking Python 3 installation....OK
      Version: 3.13.0 (Conda)
      Path: C:/Users/<####>/.conda/envs/quarto/python.exe
      Jupyter: 5.8.1
      Kernels: python3

[>] Checking Jupyter engine render....OK

[>] Checking R installation...........(None)

      Unable to locate an installed version of R.
      Install R from https://cloud.r-project.org/

Metadata

Metadata

Assignees

No one assigned

    Labels

    backportinstallersissues with packages from package managers, installers, etc.previewissues related to the `preview` commandregressionFunctionality that used to work but now is broken.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions