SawyerHood / draw-a-ui

Draw a mockup and generate html for it
https://draw-a-ui.com
MIT License
13.1k stars 1.57k forks source link

/tldraw.css is not exported from package /home/andy/dev/draw-a-ui/node_modules/@tldraw/tldraw (see exports field in /home/andy/dev/draw-a-ui/node_modules/@tldraw/tldraw/package.json) #54

Open ethereumdegen opened 8 months ago

ethereumdegen commented 8 months ago

./app/page.tsx:4:0 Module not found: Package path ./tldraw.css is not exported from package /home/andy/dev/draw-a-ui/node_modules/@tldraw/tldraw (see exports field in /home/andy/dev/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

0x-sen commented 8 months ago

https://github.com/SawyerHood/draw-a-ui/commit/36384b82f7bad0aaa003877fa28571cabfeef6bb

fixed in this commit

maybe you should pull the latest code and reinstall the dependencies.