Skip to content

quarto check give error: incorrect funtion #14247

@jszhao

Description

@jszhao

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

I have downloaded the latest version of Quarto CLI, i.e., quarto-1.9.36 for Windows in Zip format: quarto-1.9.36-win.zip

And then executing the quarto check, it gave the incorrect function error:

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

ERROR: 函数不正确。 (os error 1)

Stack trace:
    at async Object.openKv (ext:deno_kv/01_db.ts:10:15)
    at async ProjectCacheImpl.init (file:///D:/Program/quarto-1.9.36-win/bin/quarto.js:87112:22)
    at async createProjectCache (file:///D:/Program/quarto-1.9.36-win/bin/quarto.js:87246:7)
    at async singleFileProjectContext (file:///D:/Program/quarto-1.9.36-win/bin/quarto.js:142081:16)
    at async render (file:///D:/Program/quarto-1.9.36-win/bin/quarto.js:142123:15)
    at async markdownRenderCb (file:///D:/Program/quarto-1.9.36-win/bin/quarto.js:163725:21)
    at async withSpinner (file:///D:/Program/quarto-1.9.36-win/bin/quarto.js:134002:12)
    at async checkInstall (file:///D:/Program/quarto-1.9.36-win/bin/quarto.js:163742:5)
    at async check (file:///D:/Program/quarto-1.9.36-win/bin/quarto.js:163388:9)
    at async _Command.actionHandler (file:///D:/Program/quarto-1.9.36-win/bin/quarto.js:163784:3)

Steps to reproduce

No response

Actual behavior

No response

Expected behavior

No response

Your environment

OS: Windows 10 22H2

I also tested quarto check on Windows 11 25H2, it gave the same error.

I have tested the quarto 1.8.25 embeded in RStudio 2026.01.1+403 for windows, the same error.

Quarto check output

D:\Program\quarto-1.9.36-win\bin>quarto check
Quarto 1.9.36
[>] Checking environment information...
      Quarto cache location: C:\Users\Jinso\AppData\Local\quarto
[>] Checking versions of quarto binary dependencies...
      Pandoc version 3.8.3: OK
      Dart Sass version 1.87.0: OK
      Deno version 2.4.5: OK
      Typst version 0.14.2: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
      Version: 1.9.36
      Path: D:\Program\quarto-1.9.36-win\bin
      CodePage: 936

[>] Checking tools....................OK
      TinyTeX: (not installed)
      Chromium: (not installed)
      Chrome Headless Shell: (not installed)
      VeraPDF: (not installed)

[>] Checking LaTeX....................OK
      Using: Installation From Path
      Path: D:\Program\TeXLive\2026\bin\windows
      Version: 2026

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

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

ERROR: 函数不正确。 (os error 1)

Stack trace:
    at async Object.openKv (ext:deno_kv/01_db.ts:10:15)
    at async ProjectCacheImpl.init (file:///D:/Program/quarto-1.9.36-win/bin/quarto.js:87112:22)
    at async createProjectCache (file:///D:/Program/quarto-1.9.36-win/bin/quarto.js:87246:7)
    at async singleFileProjectContext (file:///D:/Program/quarto-1.9.36-win/bin/quarto.js:142081:16)
    at async render (file:///D:/Program/quarto-1.9.36-win/bin/quarto.js:142123:15)
    at async markdownRenderCb (file:///D:/Program/quarto-1.9.36-win/bin/quarto.js:163725:21)
    at async withSpinner (file:///D:/Program/quarto-1.9.36-win/bin/quarto.js:134002:12)
    at async checkInstall (file:///D:/Program/quarto-1.9.36-win/bin/quarto.js:163742:5)
    at async check (file:///D:/Program/quarto-1.9.36-win/bin/quarto.js:163388:9)
    at async _Command.actionHandler (file:///D:/Program/quarto-1.9.36-win/bin/quarto.js:163784:3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdenoIssues related to denowindows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions