Recently, I came across a React JS library called React Pacomo. Since the original version of this library is no longer being maintained, I decided to use my own forked version for my project. However, I am facing issues with compiling or building the library correctly.
When I normally install the original library in my package.json
, it looks like this:
"react-pacomo": "0.5.1",
Upon checking the node_modules/react-pacomo
directory, I can confirm that the library has been successfully built as it contains a lib
folder:
$ ls node_modules/react-pacomo
README.md lib package.json test.js
However, when I attempt to install my forked version, the entry in my package.json
changes to:
"@myname/react-pacomo": "git+ssh://<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="6e09071a2e09071a061b0c400d0103">[email protected]</a>/myname/react-pacomo.git#0.5.1",
After running npm install
, I notice that the library does not compile properly and upon inspection of
node_modules/@myname/react-pacomo
, there is no lib
folder present. Any ideas why this could be happening?