ladle build error
Closed this issue · 3 comments
ukeskin commented
Describe the bug
Hello everyone, I am getting the following error while building:
DEBUG=ladle* yarn ladle build
node:internal/process/esm_loader:40
internalBinding('errors').triggerUncaughtException(
^
Error: Required package missing from disk. If you keep your packages inside your repository then restarting the Node process may be enough. Otherwise, try to run an install first.
Missing package: vite@virtual:9a44fbeba09c7e5b8cba4a8ccfa2469dac83221b1e2272a6689a7e19725990a8ea4e84aecdb89538ce0cd23a44727da7b1dd035b06dfb34610acf0a6acb43919#npm:5.0.6
Expected package location: /Users/ukeskin/Desktop/egaranti-react-radix/.yarn/__virtual__/vite-virtual-fba5468119/0/cache/vite-npm-5.0.6-d33c199e48-06d85f7d83.zip/node_modules/vite/
at makeError (/Users/ukeskin/Desktop/egaranti-react-radix/.pnp.cjs:18550:34)
at resolveUnqualified (/Users/ukeskin/Desktop/egaranti-react-radix/.pnp.cjs:20354:17)
at resolveRequest (/Users/ukeskin/Desktop/egaranti-react-radix/.pnp.cjs:20406:14)
at Object.resolveRequest (/Users/ukeskin/Desktop/egaranti-react-radix/.pnp.cjs:20462:26)
at resolve$1 (file:///Users/ukeskin/Desktop/egaranti-react-radix/.pnp.loader.mjs:1991:25)
at async nextResolve (node:internal/modules/esm/hooks:864:22)
at async Hooks.resolve (node:internal/modules/esm/hooks:302:24)
at async handleMessage (node:internal/modules/esm/worker:196:18)
Node.js v18.19.0
Environment
- OS: macos
- Browser chrome,
- Version 22
ukeskin commented
btw, ladle serve command is working
tajo commented
There's not much to look into here. Seems like your setup issue? Maybe try install vite explicitly.
tajo commented
Closing for inactivity + no reproduction.