Giter VIP home page Giter VIP logo

Comments (5)

SamVerschueren avatar SamVerschueren commented on June 18, 2024

You mean with the CLI? You should never install global packages with sudo to begin with. https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md

After that, you shouldn't be forced to use sudo when using the cli.

from brightness.

kevva avatar kevva commented on June 18, 2024

I think sudo is required to be able to run it on Linux regardless. There's an open PR which addresses this #11.

from brightness.

huskyachao avatar huskyachao commented on June 18, 2024

Did anybody meet with the problem when installing the packages?

npm WARN enoent ENOENT: no such file or directory, open '/home/achao/package.json'
npm WARN achao No description
npm WARN achao No repository field.
npm WARN achao No README data
npm WARN achao No license field.

#ubuntu 18.04.1 LTS

from brightness.

aminnairi avatar aminnairi commented on June 18, 2024

Sudo is not required on Linux if you add xorg-xbacklight as a dependency. See an example here https://github.com/i3bar/core/blob/db7cc783283020a45dac3e805fa6c6eb8f2fc6ee/example/utils.js#L87

from brightness.

BVSPHari avatar BVSPHari commented on June 18, 2024

I'm facing similar issue 18 .

from brightness.

Related Issues (16)

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.