-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Cannot get access to the slide show using global slidev #295
Comments
Same error here. Also fail when exporting:
|
Similar problem Slidev v0.23.0 (global)
theme @slidev/theme-seriph
entry /Users/xxx/Documents/my_projects/works-show/slides.md
slide show > http://localhost:3030/
presenter mode > http://localhost:3030/presenter
remote control > pass --remote to enable
shortcuts > restart | open | edit
3:15:22 PM [vite] Internal server error: The request url "/Users/xxx/.config/yarn/global/node_modules/@slidev/client/main.ts" is outside of Vite serving allow list:
- /Users/xxx/.config/yarn/global/node_modules/@slidev/cli
- /Users/xxx/.config/yarn/global/node_modules/vite/dist/client
Refer to docs https://vitejs.dev/config/#server-fs-allow for configurations and more details.
at ensureServingAccess (/Users/xxx/.config/yarn/global/node_modules/vite/dist/node/chunks/dep-874085d4.js:65300:15)
at viteServeRawFsMiddleware (/Users/xxx/.config/yarn/global/node_modules/vite/dist/node/chunks/dep-874085d4.js:65267:13)
at call (/Users/xxx/.config/yarn/global/node_modules/vite/dist/node/chunks/dep-874085d4.js:54167:7)
at next (/Users/xxx/.config/yarn/global/node_modules/vite/dist/node/chunks/dep-874085d4.js:54111:5)
at viteTransformMiddleware (/Users/xxx/.config/yarn/global/node_modules/vite/dist/node/chunks/dep-874085d4.js:65538:9)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
^C |
antfu
added a commit
that referenced
this issue
Sep 17, 2021
@antfu Thank you, Anthony ! You are a lifesaver. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I try to use
slidev
globally. It worked well for both the installation and creating new project, but I cannot get access to the localhost slide show at last.To Reproduce
Steps to reproduce the behavior:
Installation
Create new env
Here is what I got:
After refreshing the webpage, I got further info:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: