-
Notifications
You must be signed in to change notification settings - Fork 389
Closed
Labels
bugSomething isn't workingSomething isn't workinghugoregressionFunctionality that used to work but now is broken.Functionality that used to work but now is broken.triaged-toIssues that were not self-assigned, signals that an issue was assigned to someone.Issues that were not self-assigned, signals that an issue was assigned to someone.
Milestone
Description
Bug description
When running quarto 1.4.527+ and executing quarto preview in a hugo project, I get the error:
ERROR: The project '' is a default type project. Default Quarto projects don't support project wide previewing since there is no project wide navigation.
Steps to reproduce
Use this Dockerfile:
FROM python:3.12-slim-bookworm
RUN apt update
RUN apt install -y npm hugo wget git
# WORKS
# ENV VERSION=1.4.526
# DOES NOT WORK
ENV VERSION=1.4.527
# Install quarto
RUN wget -q -O /tmp/quarto.deb https://github.com/quarto-dev/quarto-cli/releases/download/v$VERSION/quarto-$VERSION-linux-arm64.deb \
&& dpkg -i /tmp/quarto.deb
RUN hugo new site quickstart
WORKDIR quickstart
CMD quarto preview --no-browser
and build and run with:
docker run -ti --rm $(docker build -q .)
Expected behavior
When running with VERSION=1.4.526 I get the expected output:
| EN
-------------------+-----
Pages | 3
Paginator pages | 0
Non-page files | 0
Static files | 0
Processed images | 0
Aliases | 0
Sitemaps | 1
Cleaned | 0
Built in 2 ms
Watching for changes in /quickstart/{archetypes,assets,content,data,layouts,static}
Watching for config changes in /quickstart/config.toml
Browse at http://localhost:6733/
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:6733/ (bind address 127.0.0.1)
Press Ctrl+C to stop
Actual behavior
When running with VERSION=1.4.527 I get:
ERROR: The project '' is a default type project. Default Quarto projects don't support project wide previewing since there is no project wide navigation.
Please preview an individual file within this default project instead.
Stack trace:
Please preview an individual file within this default project instead.
at serveProject (file:///opt/quarto/bin/quarto.js:97235:19)
at eventLoopTick (ext:core/01_core.js:183:11)
at async Command.fn (file:///opt/quarto/bin/quarto.js:97963:9)
at async Command.execute (file:///opt/quarto/bin/quarto.js:8095:13)
at async quarto (file:///opt/quarto/bin/quarto.js:114673:5)
at async file:///opt/quarto/bin/quarto.js:114691:9
Your environment
No response
Quarto check output
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghugoregressionFunctionality that used to work but now is broken.Functionality that used to work but now is broken.triaged-toIssues that were not self-assigned, signals that an issue was assigned to someone.Issues that were not self-assigned, signals that an issue was assigned to someone.