Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Publishing package fails with ENETUNREACH #687

Closed
rohan-deshpande opened this issue Jan 13, 2020 · 2 comments
Closed

[BUG] Publishing package fails with ENETUNREACH #687

rohan-deshpande opened this issue Jan 13, 2020 · 2 comments

Comments

@rohan-deshpande
Copy link

rohan-deshpande commented Jan 13, 2020

What / Why

Cannot publish a package, it fails with

npm ERR! code ENETUNREACH
npm ERR! errno ENETUNREACH
npm ERR! request to https://registry.npmjs.org/fps-locker failed, reason: connect ENETUNREACH 104.16.22.35:443

The output from --dry-run is

npm notice
npm notice 📦  fps-locker@0.0.1
npm notice === Tarball Contents ===
npm notice 52B    .prettierrc
npm notice 6.3kB  dist/index.dev.js
npm notice 2.7kB  dist/index.js
npm notice 3.8kB  .cache/19/0905efd41ab9b7835837c7f2a0312f.json
npm notice 4.6kB  .cache/b1/c0d6646bae46e095573a23c1b4c8c4.json
npm notice 16.7kB .cache/09/f3f8f097d491bc5795990af61f9588.json
npm notice 23.0kB .cache/8b/f7a542360da52f4aec802ed1c4a295.json
npm notice 1.2kB  package.json
npm notice 2.5kB  dist/index.dev.js.map
npm notice 2.8kB  dist/index.js.map
npm notice 2.3kB  README.md
npm notice === Tarball Details ===
npm notice name:          fps-locker
npm notice version:       0.0.1
npm notice package size:  10.0 kB
npm notice unpacked size: 66.1 kB
npm notice shasum:        eeaa8794c1527d43fdf7d710b0280c17ecc5dcb4
npm notice integrity:     sha512-jhDkLS3J4yR/D[...]OwvlSKP6s2Ygg==
npm notice total files:   11
npm notice
+ fps-locker@0.0.1

When

  • I run npm publish

Where

  • locally

How

Current Behavior

  • Fails to publish

Steps to Reproduce

  • N/A

Expected Behavior

  • It publishes without error

Who

  • N/A

References

@DanielRuf
Copy link

Please check if you can open registry.npmjs.org in your browser and ping it too.

@rohan-deshpande
Copy link
Author

This was a really weird one, I think it had something to do with my local network as I was tethering to my phone and npm wasn't working from any machine. I rebooted the phone and everything worked.

FYI it was an iPhone 11 Pro running iOS 13.2.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants