Comments (8)
@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.
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.
@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.
@JalexChen we're running into this with the 16.15.0
image. Will there be an updated image?
from cimg-node.
@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.
Why make the images worse than the old ones?
from cimg-node.
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.
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)
- Latest version of image run out of memory HOT 2
- Recent versions of image cause jest to fail HOT 1
- permissions on node 16:17 HOT 1
- Using the image in other CI tools HOT 3
- shallow checkout HOT 5
- /home/circleci/.local/bin is in path but doesnโt exist by default HOT 2
- Can you create this image please? HOT 1
- Publish major version (only) tag pointing at the latest build for a major node version HOT 1
- Base Ubuntu version changing HOT 2
- cimg/node:16.18 & cimg/node:16.19: "Mongod instance closed with code \"127\"" was thrown, throw an Error :) HOT 2
- Migrating from circleci/node:16.13-browsers to cimg/node:16-13 HOT 2
- Feature Request: Update open JDK to the next LTS HOT 4
- Feature Request: Include Bun (bun install) HOT 1
- Bug Report: Missing Node.js 20.6.1 release
- Feature Request: cimg/node browsers arm64 support HOT 1
- Bug Report: wrong LTS version HOT 3
- Feature Request: Update open JDK in -browsers image to the next LTS (17)
- Bug Report: automated-wf is broken
- Feature Request: variant with browsers and test drivers preinstalled
- Feature Request: February Node security releases HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cimg-node.