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

CLI Error #745

Open
macgeargear opened this issue Jun 27, 2023 · 4 comments
Open

CLI Error #745

macgeargear opened this issue Jun 27, 2023 · 4 comments

Comments

@macgeargear
Copy link

- warn Port 3000 is in use, trying 3001 instead.
- ready started server on 0.0.0.0:3001, url: http://localhost:3001
- event compiled client and server successfully in 144 ms (20 modules)
- wait compiling...
- event compiled client and server successfully in 117 ms (20 modules)
- wait compiling /_error (client and server)...
- event compiled client and server successfully in 244 ms (161 modules)

After i create new next app and npx shadcn-ui@latest init I got an error 404 not found, though i did not do anything

@dan5py
Copy link
Contributor

dan5py commented Jun 27, 2023

@macgeargear Are you using the src folder? If so check #746 for the solution.

@macgeargear
Copy link
Author

Yes, i did the same as you @dan5py said in #746 and it also 404 not found
this is my components.json

{
  "$schema": "https://ui.shadcn.com/schema.json",
  "style": "default",
  "rsc": true,
  "tailwind": {
    "config": "tailwind.config.js",
    "css": "src/app/globals.css",
    "baseColor": "slate",
    "cssVariables": true
  },
  "aliases": {
    "components": "@/components",
    "utils": "@/lib/utils"
  }
}

@dan5py
Copy link
Contributor

dan5py commented Jun 27, 2023

Have you deleted the outer app folder?

@macgeargear
Copy link
Author

Oh, it turns out that I did wrong when init.😂 Thank you for your help, it works well like #736

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants