quarto-dev / quarto-dev/quarto-cli
Getting file not found errror when setting `revealjs` setting
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Bug description
In my _quarto.yml file, if I add these options:
format:
html:
code-copy: true
theme: cosmo
css: styles.css
+ revealjs:
+ code-line-numbers: false
I get the following error
ERROR: NotFound: No such file or directory (os error 2), rename '/Users/hamel/github/embed-debug-quarto/1_setup/index.html' -> '/Users/hamel/github/embed-debug-quarto/_site/1_setup/index.html'
NotFound: No such file or directory (os error 2), rename '/Users/hamel/github/embed-debug-quarto/1_setup/index.html' -> '/Users/hamel/github/embed-debug-quarto/_site/1_setup/index.html'
at Object.renameSync (deno:runtime/js/30_fs.js:175:9)
at renderProject (file:///Applications/quarto/bin/quarto.js:86832:22)
at async Command.fn (file:///Applications/quarto/bin/quarto.js:90856:32)
at async Command.execute (file:///Applications/quarto/bin/quarto.js:8437:13)
at async quarto (file:///Applications/quarto/bin/quarto.js:127545:5)
at async file:///Applications/quarto/bin/quarto.js:127563:9
Steps to reproduce
I have made a minimal repro here
I am using Quarto 1.3.450
To repro, do the following:
git clone https://github.com/hamelsmu/embed-debug-quarto.git
quarto render
Expected behavior
No response
Actual behavior
No response
Your environment
- OS: Mac Ventura 13.4.1
- Quarto v
1.3.450
Quarto check output
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.1.1: OK
Dart Sass version 1.55.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.3.450
Path: /Applications/quarto/bin
[✓] Checking basic markdown render....OK
[✓] Checking Python 3 installation....OK
Version: 3.10.12 (Conda)
Path: /Users/hamel/mambaforge/bin/python
Jupyter: 5.3.0
Kernels: python3
[✓] Checking Jupyter engine render....OK
[✓] Checking R installation...........OK
Version: 4.0.4
Path: /Library/Frameworks/R.framework/Resources
LibPaths:
- /Library/Frameworks/R.framework/Versions/4.0/Resources/library
knitr: 1.31
rmarkdown: 2.7
[✓] Checking Knitr engine render......OK
cc: @jjallaire @cscheid
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Clone the linked minimal reproduction and run quarto render with Quarto 1.3.450. Start from the format configuration in _quarto.yml and trace the render step that renames 1_setup/index.html into _site; done means the project renders successfully with both html and revealjs settings enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100