-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Description
Describe the bug
Running the default slide deck gives the error:
9:06:00 AM [vite] (client) Failed to load source map for /deckdir/slidev/node_modules/.pnpm/[email protected]/node_modules/monaco-editor/esm/vs/base/common/marked/marked.js.
Error: An error occurred while trying to read the map file at marked.umd.js.map
Error: ENOENT: no such file or directory, open '/deckdir/slidev/node_modules/.pnpm/[email protected]/node_modules/monaco-editor/esm/vs/base/common/marked/marked.umd.js.map'
at async open (node:internal/fs/promises:638:25)
at async Object.readFile (node:internal/fs/promises:1238:14)
at async extractSourcemapFromFile (file:///deckdir/slidev/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-DZ2tZksn.js:8303:65)
at async loadAndTransform (file:///deckdir/slidev/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-DZ2tZksn.js:26390:22)
Minimal reproduction
Steps to reproduce the behavior:
npm i -g pnpm
pnpm create slidev
- Finish steps to get the deck running
- Wait.
- Restart to get the error again.
Also occurs using local project npm create slidev@latest
Environment
- Slidev version: v52.0.0
- Browser: firefox
- OS: Ubuntu (also reproduced in WSL)
If you are using Slidev globally (i.e. npx slidev
or npm i -g slidev
), please try to reproduce the issue in a local project (i.e. npm create slidev@latest
).