Skip to content

Deno issue with files on network drives #11332

@samlalwani

Description

@samlalwani

Bug description

Error on trying to render the following default files with 1.6.32

_quarto.yml

project:
  type: website

website:
  title: "Articles"
  navbar:
    left:
      - href: index.qmd
        text: Home
      - about.qmd

format:
  html:
    theme: cosmo
    css: styles.css
    toc: true

index.qmd
`

title: "Articles"

This is a Quarto website.

To learn more about Quarto websites visit https://quarto.org/docs/websites.

`

Steps to reproduce

quarto preview z:/Work/Digital_Twin_Sim/Articles/index.qmd --no-browser --no-watch-inputs
ERROR: PermissionDenied: Requires all access to "Z:\Work\Digital_Twin_Sim\Articles\_quarto.yml", run again with the --allow-all flag
Path: Z:\Work\Digital_Twin_Sim\Articles_quarto.yml

Stack trace:
Path: Z:\Work\Digital_Twin_Sim\Articles_quarto.yml
at readTextFileSync (ext:deno_fs/30_fs.js:864:10)
at Object.Deno.readTextFileSync (file:///C:/Users/Sameer/AppData/Local/Programs/Quarto/bin/quarto.js:5124:25)
at readAndValidateYamlFromFile (file:///C:/Users/Sameer/AppData/Local/Programs/Quarto/bin/quarto.js:20450:29)
at file:///C:/Users/Sameer/AppData/Local/Programs/Quarto/bin/quarto.js:80774:32
at projectContext (file:///C:/Users/Sameer/AppData/Local/Programs/Quarto/bin/quarto.js:80556:32)
at async Command.actionHandler (file:///C:/Users/Sameer/AppData/Local/Programs/Quarto/bin/quarto.js:107867:25)
at async Command.execute (file:///C:/Users/Sameer/AppData/Local/Programs/Quarto/bin/quarto.js:8086:13)
at async Command.parseCommand (file:///C:/Users/Sameer/AppData/Local/Programs/Quarto/bin/quarto.js:7976:20)
at async quarto (file:///C:/Users/Sameer/AppData/Local/Programs/Quarto/bin/quarto.js:126366:9)
at async file:///C:/Users/Sameer/AppData/Local/Programs/Quarto/bin/quarto.js:126393:9

Expected behavior

Version 1.5.57 Works with no issues

Actual behavior

No response

Your environment

VSCode
Windows 11

Quarto check output

quarto check
Quarto 1.6.32
[>] Checking environment information...
Quarto cache location: C:\Users\Sameer\AppData\Local\quarto
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.4.0: OK
Dart Sass version 1.70.0: OK
Deno version 1.46.3: OK
Typst version 0.11.0: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
Version: 1.6.32
Path: C:\Users\Sameer\AppData\Local\Programs\Quarto\bin
CodePage: 1252

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

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

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

[>] Checking Python 3 installation....OK
Version: 3.11.10 (Conda)
Path: C:/Users/Sameer/miniconda3/envs/dap/python.exe
Jupyter: 5.7.2
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

Labels

bugSomething isn't workingdenoIssues related to deno

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions