https://nextjs.org/docs/messages/module-not-found
⨯ ./app/page.tsx:4:0
Module not found: Package path ./tldraw.css is not exported from package /Users/xurenlu/Sites/draw-a-ui/node_modules/@tldraw/tldraw (see exports field in /Users/xurenlu/Sites/draw-a-ui/node_modules/@tldraw/tldraw/package.json)
2 |
3 | import dynamic from "next/dynamic";
4 | import "@tldraw/tldraw/tldraw.css";
5 | import { useEditor } from "@tldraw/tldraw";
6 | import { getSvgAsImage } from "@/lib/getSvgAsImage";
7 | import { blobToBase64 } from "@/lib/blobToBase64";
https://nextjs.org/docs/messages/module-not-found ⨯ ./app/page.tsx:4:0 Module not found: Package path ./tldraw.css is not exported from package /Users/xurenlu/Sites/draw-a-ui/node_modules/@tldraw/tldraw (see exports field in /Users/xurenlu/Sites/draw-a-ui/node_modules/@tldraw/tldraw/package.json) 2 | 3 | import dynamic from "next/dynamic";