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.

npm install nock returns a 404

See original GitHub issue

It appears you guys just released a new version of nock and npm is saying that it does not exist.

249.31s$ npm install 
npm ERR! fetch failed https://registry.npmjs.org/nock/-/nock-7.7.1.tgz
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 404
npm ERR! fetch failed https://registry.npmjs.org/nock/-/nock-7.7.1.tgz
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 404
npm ERR! fetch failed https://registry.npmjs.org/nock/-/nock-7.7.1.tgz
npm ERR! Linux 3.13.0-63-generic
npm ERR! argv "/home/travis/.nvm/versions/node/v5.6.0/bin/node" "/home/travis/.nvm/versions/node/v5.6.0/bin/npm" "install"
npm ERR! node v5.6.0
npm ERR! npm  v3.6.0

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:12
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
seanmcintyrecommented, Mar 25, 2016

giphy 3

1reaction
djett41commented, Mar 25, 2016

These pretzels are making me thirsty

Read more comments on GitHub >

github_iconTop Results From Across the Web

nock
HTTP server mocking and expectations library for Node.js. Latest version: 13.2.9, last published: 5 months ago. Start using nock in your ...
Read more >
Nock reply with 302 and 404 throws an HTTPError
This is happening because of the default behavior of Got. It throws errors for certain status codes it deems an error.
Read more >
API mock testing with Nock for Node.js apps
In this quick tutorial, learn how to make mock HTTP requests with Nock to test your Node.js application's API endpoints.
Read more >
nock.Interceptor.replyWithError JavaScript and Node.js ...
replyWithError('cannot connect'); return this. ... origin: classy-org/classy-node ... test/mockedresponses/users-404.json') const parsedContent ...
Read more >
nock | Devpost
Install. $ npm install nock. Use. On your test, you can setup your mocking object like this: var ...
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