I am using react-cropper for my project, it includes cropper version ^0.10.0
while I need some methods of cropper
version 0.11.1
. So I forked this to my own GitHub repository and wanted to upgrade its cropper
to 0.11.1
. But I don't know how to do!
Do I have to build this module again and push to GitHub, then install it via GitHub url in package.json
?
thanks!
updated
I cloned react-cropper to local, update package.json and then npm install. It threw error Error: ENOENT, no such file or directory 'dist/react-cropper.js'. Then I mkdir dist and npm install successfully. how to do next?
Updated 2
After following @Michelem answer, I upgraded successfully cropper
to 0.11.1
But then when I run gulp
it threw error: can not find module 'react-cropper'
is this related to this issue or not?