Skip to content
This repository was archived by the owner on Dec 24, 2021. It is now read-only.
This repository was archived by the owner on Dec 24, 2021. It is now read-only.

404 Page Doesn't Build #346

@joshuabradley012

Description

@joshuabradley012

Environment: node 8.17.0, npm 6.13.6, hugo 0.62.1

When a 404.html page is created in /site/layouts, running npm run build creates a dist without the 404.html file.

It fails specifically at npm run build:hugo which is included in the npm run build command.

However, manually running the command that npm run build:hugo is firing works. Meaning hugo -d ../dist -s site -v generates the 404 page properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions