Giter Club home page Giter Club logo

Comments (7)

sindresorhus avatar sindresorhus commented on July 21, 2024 1

I noticed this too recently that np would hang for a long time when running $ np. I haven't yet figured out what causes it.

from np.

bwp91 avatar bwp91 commented on July 21, 2024

As I am having a similar issue, wanted to reply here just to subscribe to any other replies.

I don't necessarily mean to hop on the bandwagon - I have used np for a long time with no issues, just today it seems to be playing up but I simply have been putting this down to npm issues rather than anything to do with this package.

By 'playing up' I mean stalling on the ⠸ Publishing package using npm (waiting for input…) step, when I enter my OTP it seems to hang, hence my assumption that it is something to do with npm.

from np.

sindresorhus avatar sindresorhus commented on July 21, 2024

By 'playing up' I mean stalling on the ⠸ Publishing package using npm (waiting for input…) step, when I enter my OTP it seems to hang, hence my assumption that it is something to do with npm.

This sounds like a different issue. My guess would be that the npm CLI wants input we didn't anticipate. For example, sometimes I wants you to press Space to open the browser to authenticate there. I don't think we handle that case.

from np.

jonesy-b-dev avatar jonesy-b-dev commented on July 21, 2024

A quick fix for it is often to just restart the cmd, so it might be related to a cmd windows that had previous commands or is open for a long time. It sounds weird but I have no idea what else it could be. On a new cmd window it works always pretty quickly

from np.

bwp91 avatar bwp91 commented on July 21, 2024

The issue in my case was that npm happened to be having issues at the time 😰 so no more issues on my end since :)

from np.

jonesy-b-dev avatar jonesy-b-dev commented on July 21, 2024

@bwp91 interesting, did you just update npm? did it got fixed after that?

from np.

jonesy-b-dev avatar jonesy-b-dev commented on July 21, 2024

Wanted to use np again but it just stopped working. Was able to make a release today but after that it just didn't work. Doesn't matter how often I retry, this really should be investigated if more people have this issue

from np.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.