I want to use logary-js in my project, which is available on GitHub (DISCLAIMER: my own project).
Here is a snippet from my packages.json file:
...
"dependencies": {
"logary": "logary/logary-js#master",
...
}
...
However, I encountered an error when trying to install the package:
✗ npm install
Error message here.
This error indicates that webpack.config.js file is missing in the directory, leading to only a few files being downloaded. The npm-debug.log file provides more details:
Detailed information here.
Interestingly, logary is referenced successfully in this example, but it uses the file system instead of GitHub.
So, the question arises - how can I reference logary from GitHub? Or what modifications are needed in its package.json file to resolve this issue?