Giter Site home page Giter Site logo

Comments (8)

JalexChen avatar JalexChen commented on July 1, 2024 3

@createthis thanks for bringing it up. i think i've found the issue and it's being merged right now. i'll be cutting new images now

from cimg-node.

JalexChen avatar JalexChen commented on July 1, 2024 1

Hi @createthis, there have definitely been quite a few changes to the image recently as a result of transitioning over to nvm, however, it is ultimately best practice to not utilize sudo npm for a variety of reasons. currently, any npm commands, such as the topic of this issue, can be executed without the need for sudo and we would recommend phasing that practice out.

from cimg-node.

JalexChen avatar JalexChen commented on July 1, 2024 1

@armordog - Totally understandable and the intentions were to help improve the image by giving options. One thing to note is that we have reimplemented vanilla node very recently. While it's still strongly implied and recommended to not use sudo, there is a need when installing things globally.

I hope this is helpful in the long run!

from cimg-node.

createthis avatar createthis commented on July 1, 2024

@JalexChen we're running into this with the 16.15.0 image. Will there be an updated image?
Screen Shot 2022-05-06 at 12 12 01 PM

from cimg-node.

createthis avatar createthis commented on July 1, 2024

@createthis thanks for bringing it up. i think i've found the issue and it's being merged right now. i'll be cutting new images now

Hey @JalexChen, we re-tested 16.15.0 today and still saw the same failure, unfortunately. Do we have to clear a cache or something to ensure the build pulls the new image?

from cimg-node.

armordog avatar armordog commented on July 1, 2024

Why make the images worse than the old ones?

from cimg-node.

JalexChen avatar JalexChen commented on July 1, 2024

Why make the images worse than the old ones?

Hi @armordog - understanding there were potential issues that could arise, but overall functionality was pretty much unchanged, could you please elaborate a bit more on what is worse so that the team and myself can take this into consideration and avoid pitfalls in the future?

from cimg-node.

armordog avatar armordog commented on July 1, 2024

Hey @JalexChen,
I'm sorry, it wasn't fair of me to say that.

I'm just frustrated because I was only using sudo npm because the old images wouldn't work without it.

And when I upgraded to the new images, sudo npm gives me an error strongly implying that npm is not installed.

from cimg-node.

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.