Coder Social home page Coder Social logo

Comments (2)

exsilium avatar exsilium commented on June 11, 2024

Hi! Thanks for the issue report, can you perhaps add more details how you are currently doing the install on Docker and which node/npm version you are using? Also, what specific errors you get without the --unsafe-perm. I did some containerisation PoC at https://github.com/exsilium/docker-c9v2 but this is on node 6, built on Docker Hub some time ago so it might be an issue I have not yet encountered or affects newer Node versions. Thanks & Cheers! 🙇 🍻

from pylon.

sr229 avatar sr229 commented on June 11, 2024

@exsilium I'm using NodeSource's v8.x and I noticed this by building it on Fedora 27. Giving the fact F27 always is the bleeding-edge distribution I took the liberty to use Multi-stage building by building it to Debian then copying the installation to another container. You can find the whole stage on the v2 folder of our docker implementation for Cloud 9.

So before I patched this, I used the one stated in the README. Doing a quick StackOverflow search i was able to find it due to npm trying to lower down it's permissions. This would cause issues on postinstall stage later on. adding --unsafe-perm as a work around is most ideal since it allows NPM to proceed even with high permissions.

I concluded that V8 and above has issues with this but not V6 and below

from pylon.

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.