Redux test not passing when it should be

Can someone please either help me out here or tell me how to report a bug?

I completely understand what the lesson is requesting, and I feel that my code should be correct. If there’s a bug in my code, I’m not seeing it. I see no reason why the Redux object would be undefined (as it should be preloaded in the background for the challenge), and thus I’m inclined to believe there’s an error in the version being loaded or something.

The error I’m getting is "
Uncaught ReferenceError: Redux is not defined
"
and my code is this:




const reducer = (state = 5) => {
return state;
}

// Redux methods are available from a Redux object
// For example: Redux.createStore()
// Define the store here:

const store = Redux.createStore(reducer);




console.log(Redux) also returns the same error. I actually looked ahead and saw the same error in the next challenge as well.
Please help!!

Browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36.

Challenge:
Create a Redux Store

Link to the challenge:
https://www.freecodecamp.org/learn/front-end-libraries/redux/create-a-redux-store

Might be related to this issue. Please try again later and let us know if it was fixed.

I suppose it could be, but 1) I’m using Chrome and 2) I can complete all other JavaScript related challenges…I’m only experiencing the issue in the Redux challenges.

@john.solo There seems to be an issue with all React/Redux/D3 ? others maybe… that require dependencies.

I added an Issue the the github: https://github.com/freeCodeCamp/freeCodeCamp/issues/38060

I’m not sure if this is the same issue @lasjorg? Sounds like it could be though.

1 Like

Thank you!!

I can confirm after checking that D3 challenges as well as React challenges are also affected. I finished the D3 challenges only just the other day and they’re now not working. So it’s definitely a recent problem.

Here’s to hoping it gets resolved quickly. Thanks for confirming I’m not crazy! :beers:

1 Like

It is working for me now. @john.solo does it work for you?

@lasjorg @pjonp

It’s working now! Yay!! Thanks for helping to get this fixed quickly. Amazing team work! :smiley: :smiley:

1 Like