alvarosabu / slidev-theme-penguin

A Penguin 🐧 theme for Slidev
https://slidev-theme-penguin.alvarosaburido.dev/
165 stars 51 forks source link

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

Open fastzhong opened 3 years ago

fastzhong commented 3 years ago

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 commented 3 years ago

after removing layout "presenter", another error:

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

dingiso commented 2 years ago

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