Freecodecamp: All React & Redux Challenges Fail To Load Dependencies

Created on 13 Jan 2020  路  3Comments  路  Source: freeCodeCamp/freeCodeCamp

All React & Redux challenges are not loading React, ReactDOM, or Redux.

Refused` to load the script '<URL>' because it violates the following
Content Security Policy directive: "script-src 'self' 'unsafe-eval' 'unsafe-inline'
<URL> <URL> <URL> <URL> <URL> <URL> <URL>". 
Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

Affects ALL React and Redux challenges:
create-a-simple-jsx-element

image

Windows 10, Chrome [Version 79.0.3945.117 (Official Build) (64-bit)]

learn needs help for triage bug critical path

All 3 comments

Also seems to affect D3 challenges:

add-document-elements-with-d3

image

Thank you for reporting this @pjonp. This is related to https://github.com/freeCodeCamp/freeCodeCamp/issues/38044 and we'll fix this ASAP.

Updated the CSP on .dev and .org and tested these challenges in both Firefox and Chrome. Closing this for now, but please let us know if you run into any other issues.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

robwelan picture robwelan  路  3Comments

ar5had picture ar5had  路  3Comments

trashtalka3000 picture trashtalka3000  路  3Comments

MichaelLeeHobbs picture MichaelLeeHobbs  路  3Comments

itsmikewest picture itsmikewest  路  3Comments