File tree Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change 2020 ERROR: Book chapter 'intro.qmd' not found
2121
2222 Stack trace:
23- at throwInputNotFound (file://<quarto full path>/ quarto.js:100761:19)
24- at findInputs (file://<quarto full path>/ quarto.js:100792:17)
23+ at throwInputNotFound (file://<quarto full path>\ quarto.js:100761:19)
24+ at findInputs (file://<quarto full path>\ quarto.js:100792:17)
2525 at eventLoopTick (ext:core/01_core.js:175:7)
26- at async findChapters (file://<quarto full path>/ quarto.js:100804:13)
27- at async bookRenderItems (file://<quarto full path>/ quarto.js:100807:5)
28- at async Object.bookProjectConfig [as config] (file://<quarto full path>/ quarto.js:100712:25)
29- at async projectContext (file://<quarto full path>/ quarto.js:82390:38)
30- at async inspectConfig (file://<quarto full path>/ quarto.js:110378:21)
31- at async Command.actionHandler (file://<quarto full path>/ quarto.js:110497:20)
32- at async Command.execute (file://<quarto full path>/ quarto.js:8253:13)
26+ at async findChapters (file://<quarto full path>\ quarto.js:100804:13)
27+ at async bookRenderItems (file://<quarto full path>\ quarto.js:100807:5)
28+ at async Object.bookProjectConfig [as config] (file://<quarto full path>\ quarto.js:100712:25)
29+ at async projectContext (file://<quarto full path>\ quarto.js:82390:38)
30+ at async inspectConfig (file://<quarto full path>\ quarto.js:110378:21)
31+ at async Command.actionHandler (file://<quarto full path>\ quarto.js:110497:20)
32+ at async Command.execute (file://<quarto full path>\ quarto.js:8253:13)
3333
3434 Caused by error:
3535 ! System command 'quarto.exe' failed
Original file line number Diff line number Diff line change @@ -171,6 +171,14 @@ transform_quarto_cli_in_output <- function(
171171 " file://<quarto full path>" ,
172172 lines
173173 )
174+
175+ # Handle quarto.js in stackstrace outputs
176+ lines <- gsub(
177+ " <quarto full path>/quarto.js" ,
178+ " <quarto full path>\\ quarto.js" ,
179+ lines ,
180+ fixed = TRUE ,
181+ )
174182 } else {
175183 # it will be quarto.exe only on windows
176184 lines <- gsub(" quarto\\ .(exe|cmd)" , " quarto" , lines )
You can’t perform that action at this time.
0 commit comments