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.

[enhancement]shasum error. Because is not compatible with cnpmjs.

See original GitHub issue

problem

It occurs “shasum check failed” error. the whole sentence is

npm ERR! shasum check failed for /var/folders/cc/n1t9n30s45509jsbws5v723h0000gn/T/npm-61661-e421db3b/192.168.174.233_5080/tarballs/koa-static/1.5.2.tgz

and the cat ....koa-static/1.5.2.tgz is

{"error":"not_found","reason":"document not found"}%

why

This error comes by setting a cnpmjs repository as a “–remote” fullfatdb. It may be because of the different strategy of the url for downloading.

fix

I think this is a lack function more than a bug. And have no idea because have not look into the code. But a fix for this will greatly helpful. (https://registry.npmjs.org here is slow)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
gabrielcsapocommented, May 22, 2017

@wusisu I will publish a patch version tomorrow, thanks for your help!

0reactions
wusisucommented, May 22, 2017

It works for me now.

The situation is much more simple than I thought. 233333 Thanks a lot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No compatible version found · Issue #4984 · npm/npm - GitHub
EDIT: it works now a bit strange. because i needed to run the update command several times. resulted in. npm http GET https://registry.npmjs.org ......
Read more >
cnpmjs.org - npm
Compatible with NPM client: you can use the origin NPM client with cnpmjs.org , only need to change the registry in config.
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