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

I got this error when following the install steps: #25

Open
AntDX316 opened this issue Apr 12, 2024 · 2 comments
Open

I got this error when following the install steps: #25

AntDX316 opened this issue Apr 12, 2024 · 2 comments

Comments

@AntDX316
Copy link

C:\Users\antdx\make-real-starter>npm run dev

make-real-template@0.1.0 dev
next dev

▲ Next.js 14.0.3

✓ Ready in 2.1s
○ Compiling / ...
⨯ ./app/components/MakeRealButton.tsx:3:0
Module not found: Can't resolve '../makeReal'
1 | import { useEditor, useToasts } from '@tldraw/tldraw'
2 | import { useCallback } from 'react'

3 | import { makeReal } from '../makeReal'
4 |
5 | export function MakeRealButton() {
6 | const editor = useEditor()

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
./app/page.tsx
⨯ ./app/components/MakeRealButton.tsx:3:0
Module not found: Can't resolve '../makeReal'
1 | import { useEditor, useToasts } from '@tldraw/tldraw'
2 | import { useCallback } from 'react'

3 | import { makeReal } from '../makeReal'
4 |
5 | export function MakeRealButton() {
6 | const editor = useEditor()

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
./app/page.tsx
⨯ ./app/components/MakeRealButton.tsx:3:0
Module not found: Can't resolve '../makeReal'
1 | import { useEditor, useToasts } from '@tldraw/tldraw'
2 | import { useCallback } from 'react'

3 | import { makeReal } from '../makeReal'
4 |
5 | export function MakeRealButton() {
6 | const editor = useEditor()

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
./app/page.tsx

@leowilkin
Copy link

Hey @AntDX316 - fixed this with PR (#26)

Just wait for the tldraw team to merge

@meefen
Copy link

meefen commented Apr 23, 2024

I encountered the same error.

How to incorporate the change?

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

3 participants