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

Can't resolve './lib/utils' #3

Open
shenghu opened this issue Nov 17, 2023 · 3 comments
Open

Can't resolve './lib/utils' #3

shenghu opened this issue Nov 17, 2023 · 3 comments

Comments

@shenghu
Copy link

shenghu commented Nov 17, 2023

@jerryjliu I got following error when building frontend. Is ./lib/utils missing in the code, or do I miss some step?

./app/components/ui/button.tsx:5:0
Module not found: Can't resolve './lib/utils'
  3 | import * as React from "react";
  4 | 
> 5 | import { cn } from "./lib/utils";
  6 | 
  7 | const buttonVariants = cva(
  8 |   "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
./app/components/ui/chat/chat-input.tsx
./app/components/ui/chat/index.ts
./app/components/chat-section.tsx
@mhenrichsen
Copy link
Contributor

Fix:
#7

@jerryjliu
Copy link
Collaborator

oops thanks!@

@shenghu
Copy link
Author

shenghu commented Nov 22, 2023

@mhenrichsen @jerryjliu thanks for resolving this. But it is still missing in embedded_tables. Would you please review this PR, #13?

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

3 participants