Skip to content
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

ladle build error #543

Closed
ukeskin opened this issue Dec 7, 2023 · 3 comments
Closed

ladle build error #543

ukeskin opened this issue Dec 7, 2023 · 3 comments
Labels
needs reproduction Can't be reproduced

Comments

@ukeskin
Copy link

ukeskin commented Dec 7, 2023

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 ukeskin added the needs triage needs to be reviewed label Dec 7, 2023
@ukeskin
Copy link
Author

ukeskin commented Dec 7, 2023

btw, ladle serve command is working

@tajo
Copy link
Owner

tajo commented Dec 7, 2023

There's not much to look into here. Seems like your setup issue? Maybe try install vite explicitly.

@tajo tajo added needs reproduction Can't be reproduced and removed needs triage needs to be reviewed labels Dec 7, 2023
@tajo
Copy link
Owner

tajo commented Jan 7, 2024

Closing for inactivity + no reproduction.

@tajo tajo closed this as completed Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs reproduction Can't be reproduced
Projects
None yet
Development

No branches or pull requests

2 participants