Giter Club home page Giter Club logo

Comments (5)

jessebye avatar jessebye commented on July 29, 2024 1

@jdxcode confirmed it is bcrypt.

from npm-register.

dgautsch avatar dgautsch commented on July 29, 2024

I recommend changing your permissions with this guide from NPM. You shouldn't be installing things as root unless you need to. Can you try changing your NPM permissions and reinstalling?

EDIT: hope that didn't come off as condescending, trying to rule out obvious reasons.

from npm-register.

jessebye avatar jessebye commented on July 29, 2024

@dgautsch definitely understand what you're saying, but we do this for a bunch of other packages and they don't have a problem. It seems to be specific to npm-register. I would go with non-sudo install if I could but we have our server automation all set to use sudo for global npm installs at this time and it would take some work to retool everything.

Found this on another thread about npm global installs:

Using sudo is fine. npm will not run arbitrary build scripts as root, if you're root -- it chown's the package dir to nobody and then runs scripts as nobody.

If packages do other non-gyp things in their install scripts, then they are broken. Complain to the authors.

If you really really need to run package scripts as root, then set the unsafe-perm config to true.

Thus I'm complaining to the authors 😄

from npm-register.

jdx avatar jdx commented on July 29, 2024

from npm-register.

dgautsch avatar dgautsch commented on July 29, 2024

Closing this issue out as it was a environment issue.

from npm-register.

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.