draw-a-ui icon indicating copy to clipboard operation
draw-a-ui copied to clipboard

run dev error

Open lichengtao1989 opened this issue 1 year ago • 5 comments

Module not found: Package path ./tldraw.css import "@tldraw/tldraw/tldraw.css";

| import { useEditor } from "@tldraw/tldraw"; useEditor not export

lichengtao1989 avatar Nov 13 '23 07:11 lichengtao1989

^

0xlarry avatar Nov 13 '23 14:11 0xlarry

tldraw author here. What's your dev environment look like? We definitely export it!

image

steveruizok avatar Nov 13 '23 20:11 steveruizok

me too ...

1823616178 avatar Nov 14 '23 02:11 1823616178

I got it. Use the alpha version

@tldraw/tldraw@alpha

1823616178 avatar Nov 14 '23 02:11 1823616178

you can look right here #3 The @tldraw author has also noticed this problem, it will be solved, but you can try other solutions first

0x-sen avatar Nov 14 '23 09:11 0x-sen