Skip to content

404.html page does not exist #2248

Closed
@PhoenixPeca

Description

@PhoenixPeca
  • I confirm that this is an issue rather than a question.

Bug report

Steps to reproduce

  • Make changes to the doc.
  • vuepress build docs
  • check the dist directory

What is expected?

Previous builds include a 404.html file in the root directory. However, recent builds no longer include this file. Server seems to fallback to standard nginx not found error page (not from vuepress).

You can check on this repo: https://github.com/PhoenixPeca/test-vp

What is actually happening?

I'm thinking this issue might have been caused by the recent upgrade to 1.4.0.

Other relevant information

  • Output of npx vuepress info in my VuePress project:
Environment Info:

  System:
    OS: macOS 10.15.4
    CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
  Binaries:
    Node: 13.11.0 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.13.7 - /usr/local/bin/npm
  Browsers:
    Chrome: 80.0.3987.149
    Firefox: Not Found
    Safari: 13.1
  npmPackages:
    @vuepress/core:  1.4.0 
    @vuepress/theme-default:  1.4.0 
    vuepress: 1.3.1 => 1.3.1 
  npmGlobalPackages:
    vuepress: Not Found

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions