Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown custom element: <NotFound> #1124

Closed
zhangyuhan2016 opened this issue Dec 20, 2018 · 5 comments
Closed

Unknown custom element: <NotFound> #1124

zhangyuhan2016 opened this issue Dec 20, 2018 · 5 comments

Comments

@zhangyuhan2016
Copy link

Bug report

[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

at node_modules/@vuepress/core/lib/app/components/LayoutDistributor.vue

Version

vuepress: 1.0.0-alpha.30

Steps to reproduce

Hi,I created a new project and used the following directory structure:

-- docs
----guide
------README.md
--package.json

It doesn't work properly

I tried this solution vue-loader@latest, but it didn't work

Other relevant information

  • Your OS: win10
  • Node.js version: v8.12.0
  • Npm version: 6.4.1
  • Is this a global or local install?
    global & local
    global : 1.0.0-alpha.27
    local: 1.0.0-alpha.30
@zhangyuhan2016
Copy link
Author

😂 I'm sorry, I tried using yarn installation and now it is running fine , you can turn off the problem

@rafi
Copy link

rafi commented Dec 22, 2018

@zhangyuhan2016 I'm experiencing the same error. How did you solve it? I'm using yarn run dev which runs vuepress dev..

@ulivz
Copy link
Member

ulivz commented Dec 23, 2018

@rafi You can open a separate issue with invalid reproduction repo to describe your context, or no one would help you.

@eugeneotto
Copy link

The fix for me was to move .vuepress from the project root to the docs root (e.g. docs/).

@ciarans
Copy link

ciarans commented Sep 2, 2019

I had to stop and restart dev to get my component to show

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

No branches or pull requests

5 participants