Open CuteSmartTiger opened 6 months ago
Same issue here. Just running npm run dev
and opening the main page shows this error. Stuck on this.
For those of you with this issue, I submitted a fix at the pull request mentioned below. Hopefully the original author will see this and merge.
hello there , i have also faced the same issue and resolved by following your steps , but got another issue
hello there , i have also faced the same issue and resolved by following your steps , but got another issue
- i have already added the api key in the .env.local file as instructed in the README but unable to remove that risky but cool box
I am not sure if this is the proper method but within app/page.tsx, i deleted the reference to the risky but cool field and ran again. That worked for me.
I fixed it by having the prefix "NEXTPUBLIC" for the variable, e.g., "NEXT_PUBLIC_OPENAI_API_KEY". learned from here
Failed to compile ./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'
https://nextjs.org/docs/messages/module-not-found
Import trace for requested module: ./app/page.tsx This error occurred during the build process and can only be dismissed by fixing the error.