Open llaenowyd opened 3 years ago
And thank you for taking the time to write an alternative front end! I can't get Ariel's to work, but yours worked first time
:)
If you need to work around with the existing source repos and course, update your package.json
to use node-sass
version 7.0.1
and consequently react-scripts
to 5.0.1
as it has a dependency on sass-loader. This also has the result of reducing the number of issues reported by npm audit
.
I had the same issue. My node version is 20.
What helped in my case is updating versions in package.json
:
axios
to 1.7.2
node-sass
to 9.0.0
react-scripts
to 5.0.1
and installing one dev dependency:
npm install --save-dev "@babel/plugin-proposal-private-property-in-object"
First thanks for the great Udemy course, really enjoying it and learning a lot.
Second, I made a solution for myself and happy to share it, if it's of any use, I'll give some details below.
I think python-2 is too far gone, it comes by default on OSX so maybe people never notice, but I didn't want to install such a big, questionable dependency to run this example.
Anyhow, since I do frontends at my day job I didn't feel it was anyone else's problem to solve for me - so here is my solution.
It follows your code as much as I could manage while working quickly and using the NextJS platform/generator. So it may be interesting since you can compare many components side-by-side. Please feel free to use it in any way you want, if you want.
Thanks again for creating the course!