ed-roh/mern-social-media

Cannot read properties of null (reading 'useMemo')

Opened this issue · 6 comments

image

I have this problems with useMemo at 2:19:40
Can anyone help me with this problem

yes assign me on this one

I also have the same error... Please comment if you have already fixed

image

I have this problems with useMemo at 2:19:40 Can anyone help me with this problem

I have doubled checked the error and I found that I have installed the dependencies outside the client directory. But when I re-installed all of it inside the client dir, the error was gone.
Can you please make sure that you have correctly installed that.
Thanks

@rajjitlai can you please teach me how you sucessfully runned after cloning, i've installed all dependencies. do i have to delete or modify any foloders before?

@Owusu1946 Well if have cloned and installed all the dependencies, then you won't need to delete or modify them. Just run and check them if any error occurs.

just add this line

import { useMemo } from "react";