Giter VIP home page Giter VIP logo

Comments (8)

d3p avatar d3p commented on August 29, 2024

If you really want to install in root using nobody uid, you need to grant access for it. Or try install everdev without sudo.

from everdev.

zeleniy avatar zeleniy commented on August 29, 2024

As i know it is impossible to install any package globally without sudo at least on Ubuntu.

$ npm i -g everdev
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm ERR! code EACCES
npm ERR! syscall access
npm ERR! path /usr/local/lib/node_modules
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules'
npm ERR!  [Error: EACCES: permission denied, access '/usr/local/lib/node_modules'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/usr/local/lib/node_modules'
npm ERR! }
npm ERR! 
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR! 
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/zelenin/.npm/_logs/2022-02-07T12_04_21_950Z-debug.log

from everdev.

d3p avatar d3p commented on August 29, 2024

Check your local user permissions. Missing write access to /usr/local/lib/node_modules.

from everdev.

Artem-Zhdanov avatar Artem-Zhdanov commented on August 29, 2024

@zeleniy I recommend installing node.js using nvm. It solves all problems related to installing modules globally.
Let me know if this helps so I can close the issue.

from everdev.

Artem-Zhdanov avatar Artem-Zhdanov commented on August 29, 2024

Closed due to inactivity

from everdev.

zeleniy avatar zeleniy commented on August 29, 2024

I have installed node.js with nvm. It doesn't help. Here is reproduction steps:

  1. Create Dockerfile:
FROM ubuntu:18.04

ENV TZ=Europe/Moscow
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN apt-get update
RUN apt-get install -y curl wget

RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
# RUN npm install -g n
# RUN n 14
# RUN npm install -g everdev

WORKDIR /root/free-ton-app
  1. Build image:
docker build -t free-ton-v1.0 .
  1. Run container:
docker run -v `pwd`:/root/free-ton-app -it free-ton-v1.0 bash
  1. Within container run:
nvm install 14
  1. And finally run package manager:
npm i -g everdev

Or try it without Docker if you have Ubuntu installed as is.

from everdev.

zeleniy avatar zeleniy commented on August 29, 2024

@Artem-Zhdanov reopen issue please.

from everdev.

zeleniy avatar zeleniy commented on August 29, 2024

@elasticLove1 may be you can help with this issue?

from everdev.

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.