Freecodecamp: FCC Advanced Node and Express not working?

Created on 19 Mar 2018  ·  4Comments  ·  Source: freeCodeCamp/freeCodeCamp


not passing the tests when i am fairly sure my code should work


Challenge Name


https://beta.freecodecamp.org/en/challenges/advanced-node-and-express/set-up-a-template-engine
https://beta.freecodecamp.org/en/challenges/advanced-node-and-express/use-a-template-engines-powers
https://beta.freecodecamp.org/en/challenges/advanced-node-and-express/set-up-passport

Issue Description


just can't pass them, I am almost certain my code is okay

Browser Information


iMac, chrome

  • Browser Name, Version:
  • Operating System:
  • Mobile, Desktop, or Tablet:

Your Code

https://glitch.com/edit/#!/tan-bow?path=server.js:41:2


Screenshot

help wanted projects-frontend needs help for triage

Most helpful comment

Cool, it seems to solve it for for the first challenge

All 4 comments

Hi @Em-Ant just tagging you along for an analysis?

Ok. @clickingmouse your code seems to be correct. The problem is that the domain https://beta.freecodecamp.org is not included in the list of CORS enabled domains in the boilerplate.
If you want you can try to add it in the array at freeCodeCamp/fcctesting.js:44:28, and the tests will pass.

@raisedadead I opened a PR for this.

Cool, it seems to solve it for for the first challenge

This wasn't working for https://learn.freecodecamp.org/ too! Thanks for the help!

Was this page helpful?
0 / 5 - 0 ratings