Skip to content

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

Closed
@AntDX316

Description

@AntDX316

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

[email protected] 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions