Next js build error
Answered
Mallow bee posted this in #help-forum
Mallow beeOP
So i get this error all the time i try to build at dont know how to fix it.
6 Replies
English Angora
Can you send code
you probably need to use and optional method call i.e. 
object?.method@English Angora  you probably need to use and optional method call i.e. 
ts
object?.method
 
Mallow beeOP
Sure, but i already did it. Its so wierd.
@English Angora here you got the code https://sourceb.in/7MdODeSNBL
@Mallow bee  <@426730460903768065> here you got the code https://sourceb.in/7MdODeSNBL 
try optionally chaining all the ids. user?.id, project?.id
Answer
@Dayo  try optionally chaining all the ids. user?.id, project?.id 
Mallow beeOP
Hey there so I fixed I over saw user.id so yea it’s fixed now. Thanks for the help though!