Closed paulodiovani closed 7 years ago
👍 I came here to fix this too, hah!
the command "$ (sudo) npm i -g learnyoureact" still yields me a version of learnyoureact without this correction (ie instructions still show React.PropTypes being used instead of the separate prop-types module). How can I get the version with the correction in this issue ticket?
Hi @zebralight, yes, you are right. Since this repository belongs to workshoper organization, someone from the deployment team has to publish the changes to the npm. I already requested the deploy of the new version, but it is not completed yet.
What you could do is pull the changes from this repository and update your globally installed package manually,
or you could run npm i -g https://github.com/workshopper/learnyoureact.git
and this should install the package directly from the repository with all merged changes.
I hope it helps 😉
Cheers and thanks for writing!
prop-types
dependency was missing on exercice 04 instructions and test, leading to errors when runningverify
.This pull requests fix that.