Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialPeter Mingione
10,484 PointsI am wondering why the final version of the app does not work
The project starter files has a final version. But it does not compile. There is an error in the console but I am not sure what it is saying:
./src/Components/Context/index.js react_devtools_backend.js:3973
Line 33:10: 'players' is assigned a value but never used no-unused-vars
overrideMethod @ react_devtools_backend.js:3973
printWarnings @ webpackHotDevClient.js:138
handleWarnings @ webpackHotDevClient.js:143
push../node_modules/react-dev-utils/webpackHotDevClient.js.connection.onmessage @ webpackHotDevClient.js:210
1 Answer
Simon Coates
8,377 PointsIf this is useful to anyone else, the issue is discussed at https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported . I found the solution of altering the start script in package.json to work. "start": "react-scripts --openssl-legacy-provider start" seemed to work for me (at current date).
EDIT: I may have misinterpreted the problem. (doh) However, when I run the downloaded 'complete' files, it won't start for me. The above problem sounds more direct - like forgetting to uncomment something or add a jsx expression. Would probably require posting source code to debug.