Vuepress: NotFound component doesn't work

Created on 23 Dec 2018  路  6Comments  路  Source: vuejs/vuepress




  • [x] I confirm that this is a issue rather than a question.




Bug report

Version

[email protected]

Steps to reproduce

$ git clone [email protected]:vuejs/vuepress.git
$ cd vuepress
$ yarn
$ yarn dev

Then navigate to localhost:8080/not-existent in any browser.

What is expected?

Seeing the standard 404 page.

What is actually happening?

A blank page is rendered and I get an error about an unknown custom element <NotFound> as shown in the screenshot below.

screenshot 2018-12-23 at 23 10 01

Other relevant information

  • Your OS: Mac OS Mojave 10.14.2
  • Node.js version: v10.14.2
  • Browser version: Chrome v71.0.3578.98
  • Is this a global or local install? Local
  • Which package manager did you use for the install? Yarn

Relates to https://github.com/vuejs/vuepress/issues/1124

bug

Most helpful comment

@nunibaranes It has been fixed but not released yet.

All 6 comments

I have the same problem.
OS: Windows10
Node: v10.14.2
Browser: Chrome v71 and Firefox 64

Same Problem for me.

@dcastil @htakao @duncan
Hi~
I don't know the standard solution, but you can use the following :

Refer to this directory structure directory-structure

Create a new NotFound.vue in the components folder.

Rerun and you'll get the results you want.

Same problem for me,
OS: Mac OS Mojave 10.14.2
Node: v10.14.2
Browser: Chrome v71 and Firefox 64

@nunibaranes It has been fixed but not released yet.

@nunibaranes It has been fixed but not released yet.

Can you tell me if it could be until next week?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AleksejDix picture AleksejDix  路  3Comments

cfjedimaster picture cfjedimaster  路  3Comments

ynnelson picture ynnelson  路  3Comments

lesliecdubs picture lesliecdubs  路  3Comments

herrbischoff picture herrbischoff  路  3Comments