Running challenge locally isn't working for submission - Quality Assurance and Testing with Chai - Learn How JavaScript Assertions Work

Tell us what’s happening:

Runnig the challenge locally isn’t working for submission. I’ve passed all the necessary tests locally, so i keep the server running and tried to paste the localhost:3000 but it fails the FCC check.

###Your project link(s)

solution: http://localhost:3000

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36

Challenge Information:

Quality Assurance and Testing with Chai - Learn How JavaScript Assertions Work

do you have any error in the browser console on the freecodecamp page?

Actually yes. Here is a screenshot of the last try.

cors errors

you need to add the cors module

see for the cors module for example

Thanks for the share. I think i do it right, but it’s still not working, getting the same console error messages.

Here is the code. And the previous version is on my github freeCodeCamp/quality-assurance at main · PedroBizachi/freeCodeCamp · GitHub cloned from the boilerplate.

try with the options for the cors module too, adding the cors headers

I’ve tryed, without success.


I’m going to close this forum because switching browsers was my only option. I was using Chromium, but I switched to Firefox and now I can submit my lessons. :smiley: