make-real-starter icon indicating copy to clipboard operation
make-real-starter copied to clipboard

I got this error when following the install steps:

Open AntDX316 opened this issue 1 year ago • 2 comments

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

[email protected] dev next dev

▲ Next.js 14.0.3

  • Local: http://localhost:3000
  • Environments: .env.local

✓ 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

AntDX316 avatar Apr 12 '24 09:04 AntDX316

Hey @AntDX316 - fixed this with PR (https://github.com/tldraw/make-real-starter/pull/26)

Just wait for the tldraw team to merge

leowilkin avatar Apr 15 '24 15:04 leowilkin

I encountered the same error.

How to incorporate the change?

meefen avatar Apr 23 '24 15:04 meefen

Hello everyone, I am still seeing this error. Do we have an update on this?

pr0digy91 avatar Nov 23 '24 13:11 pr0digy91

Hello everyone, I am still seeing this error. Do we have an update on this?

Got the fix here #29

pr0digy91 avatar Nov 23 '24 13:11 pr0digy91