question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

github package in package.json

See original GitHub issue

Hi, I just noticed that the quantize package is being pulled from your github fork in package.json:

"quantize": "github:lokesh/quantize"

Is there any reason for not publishing this fork to npm so that it can be accessed directly from the npm registry?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:5
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
lokeshcommented, Sep 21, 2019

I’ll look into publishing to the global npm registry this weekend. I didn’t expect the access issues. Thanks for calling out.

0reactions
hiturajcommented, Oct 13, 2022

I’ll look into publishing to the global npm registry this weekend. I didn’t expect the access issues. Thanks for calling out.

Still not working:

19:22:28 npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/lokesh/quantize.git 19:22:28 npm ERR! ssh: connect to host github.com port 22: No route to host 19:22:28 npm ERR! fatal: Could not read from remote repository.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use Github branch as dependency in package.json - Medium
The above installs a node package from github into your node_modules folder and automatically adds the dependency to your package.json!
Read more >
npm install private github repositories by dependency in ...
I'm trying to install github private repository by npm that includes other private github repositories as dependency.
Read more >
Working with the npm registry - GitHub Docs
The GitHub Packages registry stores npm packages within your organization or personal account, and allows you to associate a package with a repository....
Read more >
package.json - npm Docs
When installing from a git repository, the presence of certain fields in the package.json will cause npm to believe it needs to perform...
Read more >
GitHub URLs in package.json - DEV Community ‍ ‍
package.json file in your node project contain (among others) links to the packages that your projects needs to run. ... The github: part...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found