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

[vite] Internal server error: Unknown layout "presenter" #12

Open
fastzhong opened this issue Dec 3, 2021 · 2 comments
Open

[vite] Internal server error: Unknown layout "presenter" #12

fastzhong opened this issue Dec 3, 2021 · 2 comments

Comments

@fastzhong
Copy link

fresh install Slidev v0.27.18 and copy your example.md:

yarn run v1.22.17
warning ../../../package.json: No license field
$ slidev --open

●■▲
Slidev v0.27.18

theme none
entry /Users/zhonglun/Google Drive/web/fastzhong-about/slides.md

slide show > http://localhost:3030/
presenter mode > http://localhost:3030/presenter
remote control > pass --remote to enable

shortcuts > restart | open | edit

3:19:42 PM [vite] Internal server error: Unknown layout "presenter"
Plugin: slidev:layout-transform:pre
File: /@slidev/slides/2.md
at transformMarkdown (/Users/zhonglun/Google Drive/web/fastzhong-about/node_modules/@slidev/cli/dist/chunk-DVHCB7TL.js:604:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
3:19:43 PM [vite] Internal server error: Unknown layout "new-section"
Plugin: slidev:layout-transform:pre
File: /@slidev/slides/5.md
at transformMarkdown (/Users/zhonglun/Google Drive/web/fastzhong-about/node_modules/@slidev/cli/dist/chunk-DVHCB7TL.js:604:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)

@fastzhong
Copy link
Author

after removing layout "presenter", another error:

3:28:00 PM [vite] Internal server error: Icon fa:ncy-link not found

@dingiso
Copy link

dingiso commented Jun 3, 2022

the example.md does not specify the theme in the first line, it may that you should change it
change from

theme: none 

to

theme: penguin

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

2 participants