Giter Club home page Giter Club logo

Comments (6)

somera avatar somera commented on June 10, 2024 1

Sorry, my mistake.

This

   ╭───────────────────────────────────────────────────────────────╮
   │                                                               │
   │      New major version of npm available! 6.14.4 → 7.8.0       │
   │   Changelog: https://github.com/npm/cli/releases/tag/v7.8.0   │
   │               Run npm install -g npm to update!               │
   │                                                               │
   ╰───────────────────────────────────────────────────────────────╯

was the problem. After npm update the installation works.

from git-stats.

somera avatar somera commented on June 10, 2024 1

And there the answer on your question:

[~]# ls -Al /root/
total 68
-rw------- 1 root root  6694 Apr  7 20:33 .bash_history
-rw-r--r-- 1 root root  3336 Mär 12 22:42 .bashrc
drwxr-xr-x 3 root root  4096 Mär 17 01:14 .cache
drwxr-xr-x 4 root root  4096 Apr  3 22:36 .config
-rw-r--r-- 1 root root    19 Apr  7 20:32 .git-stats
drwxr-xr-x 3 root root  4096 Mär 12 21:12 .local
drwxr-xr-x 5 root root  4096 Apr  7 20:27 .npm
-rw-r--r-- 1 root root    27 Apr  3 22:44 package-lock.json
-rw-r--r-- 1 root root   161 Dez  5  2019 .profile
drwxr-xr-x 2 root root  4096 Mär 28 22:21 .rpmdb
drwxr-xr-x 3 root root  4096 Mär 12 21:03 snap
drwx------ 2 root root  4096 Mär 12 21:03 .ssh
-rw------- 1 root root 12985 Apr  1 15:04 .viminfo

But after the successful installation.

from git-stats.

Ryuno-Ki avatar Ryuno-Ki commented on June 10, 2024 1

Glad that we could find a solution!

High five to a fellow Vim user 🙏

from git-stats.

Ryuno-Ki avatar Ryuno-Ki commented on June 10, 2024

What are the permissions for that directory?

ls -Al /root/.git-stats

from git-stats.

somera avatar somera commented on June 10, 2024

Isn't there

[~]# ls -Al /root/.git-stats
ls: cannot access '/root/.git-stats': No such file or directory

And

[~]# ls -al
total 72
drwx------  9 root root  4096 Apr  3 22:44 .
drwxr-xr-x 21 root root  4096 Mär 12 21:39 ..
-rw-------  1 root root  6348 Apr  7 16:08 .bash_history
-rw-r--r--  1 root root  3336 Mär 12 22:42 .bashrc
drwxr-xr-x  3 root root  4096 Mär 17 01:14 .cache
drwxr-xr-x  4 root root  4096 Apr  3 22:36 .config
drwxr-xr-x  3 root root  4096 Mär 12 21:12 .local
drwxr-xr-x  5 root root  4096 Apr  7 20:17 .npm

from git-stats.

Ryuno-Ki avatar Ryuno-Ki commented on June 10, 2024

ls -al only shows the local directory. (-a includes . and .., whereas -A does not)
The script fails to open a file in /root/.

What's the output of ls -Al /root/? (Should not contain sensible entries, I think).

from git-stats.

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.