Can't resolve './lib/utils'
shenghu opened this issue · 3 comments
shenghu commented
@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 commented
Fix:
#7
jerryjliu commented
oops thanks!@
shenghu commented
@mhenrichsen @jerryjliu thanks for resolving this. But it is still missing in embedded_tables. Would you please review this PR, #13?