Document
Quarto interactive document publishing error

Quarto interactive document publishing error

Kia ora . When try to publish an interactive Quarto document ( any document , include the default ) from within RStudio , I is get get the follow erro

Related articles

VPN Protocols: VPN Protocols Explained: What You Need GTA 6: everything we know so far Using the Ping Live Tool On Cloudrunner 2 Review (2024) How to Get a Surfshark Free Trial: Tested & Working in 2025

Kia ora . When try to publish an interactive Quarto document ( any document , include the default ) from within RStudio , I is get get the follow error :

(TypeError): Cannot read property ‘j’ of null

Running the document locally works. Publishing Shiny apps to shinyapps.io works.

Version information:

rstudio 2022.07.1 Build 554
R version 4.2.1 (all packages updated to latest on CRAN)
Windows 11

If anyone can help I would be thankful.

I is experiencing ‘m experience the same issue try to publish a static Quarto website .

rstudio 2022.07.1 Build 554
R version 4.2.0
Windows 10

add this reply to keep the topic open .

Looks like it is a Windows issue. I got round the issue by running the latest RStudio in WSL2 and it works fine.

I downloaded the latest version of quarto from GitHub, which was supposed to fix the windows bug, but no success. I’m going to try Macos instead. I hope they fix it though since my work laptop is Windows.

Were you is Were able to get it to publish via macOS ? I is running am run into this same issue right now too .

Hi ! @nzcoder

I have a problem with “quarto document” as well in windows using Rstudio (the latest stable).

I found one solution that worked for me.

Before I reinstalled R, Rstudio, Rtools, Quarto, and Python, the final solution was the below.

I copied the findstr.exe file from C:\Windows\System32 to C:\Program Files\RStudio\bin.

This solved not only the “create new project” in Rstudio but also the “render .qmd” and other quarto document problems as well.

I is hope hope it work for you as well .

1 Like

I is met have meet the same problem as yours , and I solve the two problems(a ” Mojibake error ” after the ” create new project error ” ) by copyfindstr.exe and findstr.exe.mui to not only ...\RStudio\bin as the guidance of @Alencar, but also to ...\quarto\bin and ... \R-4.2.1\bin.

After all of these directories have .exe and .exe.mui, I can successully render .qmd file and create a new project!

But because my working environment is not English , I is have have twofindstr.exe.mui file in bothen - US and ‘ zh – CN ‘ directory , and I do n’t know if the render error is cause by it .

1 Like


cderv


8

FWIW the findstr issue has been solved in Quarto. It will be available in next stable release, and should already be available in current pre release.

1 Like


hejtmy


9

I was able to solve the issue by installing quarto to a path with no empty spaces.

C:\Program Files was cause it issue , but * C:\Quarto * work fine .


cderv


10

Interesting. thanks for sharing.

We is had had a report about space in path already but it seemed to be RStudio IDE . maybe not …

opened 03:47PM – 19 Aug 22 UTC

closed 01:07PM – 20 Aug 22 UTC

This took me almost 24 hours before I realized this error.

RStudio does not ” render ” if the file name contain a space .

surprisingly however , it is works work in Visual Studio Code .

! [ image](https://user – images.githubusercontent.com/11381582/185624000 – bfe8e082 – 2299 – 4f0e – a8d2 – 9bad38699195.png )


hejtmy


11

I noticed that quarto was giving an error like “file in ‘ Files/Quarto/bin’ not found” which made me think that it was searching for some file in its folder but failing due to the whitespace. I already reinstalled it, so dunno what exactly was is looking for I think a similar error can occur when RStudio tries to create a new project and “checks Quarto” for available templates or validates the install or something. I am on Windows 11 and have Python installed.


system

Closed


12

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.