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

404 Page Doesn't Build #346

Open
joshuabradley012 opened this issue Jan 27, 2020 · 0 comments
Open

404 Page Doesn't Build #346

joshuabradley012 opened this issue Jan 27, 2020 · 0 comments

Comments

@joshuabradley012
Copy link

joshuabradley012 commented Jan 27, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant