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

/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 this issue Nov 17, 2023 · 1 comment

Comments

@ethereumdegen
Copy link

./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
Copy link
Contributor

0x-sen commented Nov 17, 2023

36384b8

fixed in this commit

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

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