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

Bug : ERR_MODULE_NOT_FOUND, i had Followed All Instruction during Creating My Vite Project still getting this Issue.. #4971

Open
1 of 2 tasks
uvislive opened this issue Sep 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@uvislive
Copy link

uvislive commented Sep 26, 2024

Describe the bug

i have followed all the informations which is provided by the shadcn community for creating the vite Project but when i reached to last step and try to run the npx shadcn@latest add button that time i got error like ..
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///C:/Users/INP/AppData/Local/npm-cache/_npx/d66c5096c7023bfb/node_modules/zod/lib/index.mjs'..

i dont know what is the issue. and also i had faced this issue many times when i want to create project with the typescript , i had successfully used it in the my react js project , but when i try to use it for tsx then it is giving me this error..

my current Node version: 22
image

Affected component/components

button and every component

How to reproduce

follow the all creating project setup for vite.

Codesandbox/StackBlitz link

No response

Logs

MODULE NOT FOUND

System Info

google chrome , brave

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@uvislive uvislive added the bug Something isn't working label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant