Suggestions needed. Please My job is on the line

Hello devs. I have been working on an app that was built with the MERN stack. My app works perfectly in my development server but breaks when i deploy it.

Please can anyone give me a hint of what is wrong. Please my job is on the line

Here's the error

Annotation 2020-07-20 165659.jpg

Comments (7)

James Erringham-Bruce's photo

Can you verify that ‘t’ is an array, and nothing changes between your development env and production env relating to this?

Also if you are able to post some code (where this error happens, adminDashboard.js, around line 63) that would help us spot the problem for you :)

Show +4 replies
Harcourt Hamsa's photo

Hello Thais Ramalho , I tried that but it didn't work. PS: It works in my local machine . Thanks

Thais Ramalho's photo

Harcourt Hamsa Maybe something not correctly configured on the server? Or some error when building/deploying the code.