savajapurva / E-Learning-MERN

It is a E-Learning website which provides functionality of registering in any course and watch its related videos and many other features such as Admin Panel, Instructors related functions etc.
146 stars 49 forks source link

TypeError: Cannot read property 'apply' of undefined #1

Closed oubaydos closed 3 years ago

oubaydos commented 3 years ago

hey, the fisrt time i cloned this repo and tried to start it (npm run dev), it's giving me : TypeError: Cannot read property 'apply' of undefined



  622 |   return funcs.reduce(function (a, b) {

  623 |     return function () {

>> 624 |       return a(b.apply(void 0, arguments));

  625 |     };

  626 |   });

  627 | }```
danielMugisha commented 3 years ago

same here

oubaydos commented 3 years ago

@danielMugisha let me know if u fixed it, seems like if the owner is long gone

danielMugisha commented 3 years ago

actually it was not mongodb connection, it is an issue with redux check https://stackoverflow.com/questions/53514758/redux-typeerror-cannot-read-property-apply-of-undefined install redux devtools chrome extension and node package (npm i redux-devtools --save)

oubaydos commented 3 years ago

it worked, thanks man