Next.js Discord

Discord Forum

An unknown Next.js run error occurs. [urgent]

Unanswered
Amur catfish posted this in #help-forum
Open in Discord
Amur catfishOP
I installed the Next.js and Bun modules.

This project ran a few days ago, but today it doesn't run with this error.
I attached the error message screenshot.

Please help me with how to run my project. πŸ™πŸ™πŸ™

57 Replies

Have you clear Next.js cache and rebuild ?
@Nuitari did you created a js project and then added some tsx to it?
Amur catfishOP
no, this is TS and Next.js project,
@RxvxntxN Have you clear Next.js cache and rebuild ?
Amur catfishOP
not try, let me try to delete cache and build
@RxvxntxN is it fixed ?
Amur catfishOP
I deleted the cache and rerun, but not
@RxvxntxN This is not cache issue
@Amur catfish Click to see attachment
you use bun or npm to install packages previous was bun this one is npm
Amur catfishOP
yeah, I just remove the bun, and reinstall npm
@Amur catfish <@161854740165033984> This is not cache issue
remove node module and re-install it ? Looks like it is corrupted in modules
also remove node modules?
Amur catfishOP
I delete all node modules folders
ok ok
@Amur catfish yeab
test this one , bun next dev --port=3001 (it won't run turbopack)
or use npm
Amur catfishOP
@RxvxntxN what is the issue?
@Amur catfish <@161854740165033984> what is the issue?
can you show me json ? i am confuse
Amur catfishOP
which json file?
people usually run like "npm run dev"
tsconfig and package.json
@Amur catfish which json file?
package.json
Amur catfishOP
here
@Amur catfish Click to see attachment
remove --turbopack for now , just to test and run it
Amur catfishOP
still same
@RxvxntxN remove `--turbopack` for now , just to test and run it
turbopack is default in 16 i think
Amur catfishOP
let me try
@Amur catfish let me try
Check if next.config.ts or next.config.js exists , show me ?
Amur catfishOP
Friend. really thanks
I ran the project
:thank_you:
cool , good luck
Amur catfishOP
really appreciate friend.
mark this forum answered
@RxvxntxN mark this forum answered
Amur catfishOP
how to mark?
click message whoever helped and go App and mark solution
Amur catfishOP
I don't know how to mark, I am newbie
@Amur catfish I don't know how to mark, I am newbie
click/hover message ... dots > App > mark solution
@RxvxntxN click/hover message ... dots > App > mark solution
Amur catfishOP
which message?
You are great and honest man
@aardani
Amur catfishOP
??
Anyway, @RxvxntxN is a hero-level next.js developer.
@Amur catfish ??
don't worry πŸ™‚
Amur catfishOP
who is helper?
Amur catfishOP
I will recommend you in this server
Are you live Palestina?
@Amur catfish Are you live Palestina?
No but We can not have this conversation in forum. Happy coding.
Amur catfishOP
Oh, I see. Got it.
How to recommend you in this channel?
I post my mind in #off-topic channel.
@RxvxntxN If you need any other help, please do not hesitate to let me know. I am good at Blockchain and Shopify fields.