Next.js Discord

Discord Forum

Failing to deploy

Answered
i_lost_to_loba_kreygasm posted this in #help-forum
Open in Discord
Please see the image
Answered by i_lost_to_loba_kreygasm
fixed
function EmotePicker(){

}
View full answer

12 Replies

@i_lost_to_loba_kreygasm Please see the image
need more info
expand the lines
@gin need more info
Hi , apparently I have this error
Error: Component definition is missing display name  react/display-name
Looks like Eslint is the problem, did you update Next.js to the latest version? It came configured with different linter rules I had some issues too.
Seems like you are declaring your component with the arrow function syntax or assigning an anonymous function to a variable and the Display Name can’t be inferred.
@i_lost_to_loba_kreygasm solved?
yeah πŸ™‚ , thanks for getting back
@i_lost_to_loba_kreygasm yeah πŸ™‚ , thanks for getting back
Oh nice! If the solution was in the chat please mark it to others to find it!
I had
function(){
component
}
fix
fixed
function EmotePicker(){

}
Answer