slidev-theme-penguin icon indicating copy to clipboard operation
slidev-theme-penguin copied to clipboard

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

Open fastzhong opened this issue 4 years ago • 2 comments

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 avatar Dec 03 '21 07:12 fastzhong

after removing layout "presenter", another error:

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

fastzhong avatar Dec 03 '21 07:12 fastzhong

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

dingiso avatar Jun 03 '22 01:06 dingiso