Git Product home page Git Product logo

Comments (12)

manrajgrover avatar manrajgrover commented on May 29, 2024

@TobiMadeIt Thank you for reporting this. Could you please try installing it with sudo, i.e. sudo npm install -g footballcli?

from football-cli.

TobiMadeIt avatar TobiMadeIt commented on May 29, 2024

I did. Mentioned this in OP btw

from football-cli.

manrajgrover avatar manrajgrover commented on May 29, 2024

@TobiMadeIt Is this happening during install or during usage?

from football-cli.

TobiMadeIt avatar TobiMadeIt commented on May 29, 2024

This happens on initial install. My npm version is 4.4.1

from football-cli.

manrajgrover avatar manrajgrover commented on May 29, 2024

@TobiMadeIt Please share your node version, OS and log file created.

from football-cli.

TobiMadeIt avatar TobiMadeIt commented on May 29, 2024

node -v is 6.9.5
macOS 10.12.4

Log file is attached.
football.txt

from football-cli.

manrajgrover avatar manrajgrover commented on May 29, 2024

@TobiMadeIt Pretty sure it's not the issue of this package. On searching, one can see multiple instances of reporting this issue. This issue might also depend on the way node was installed (as mentioned in some reported Github issues). Could you please try solution mention here?

from football-cli.

TobiMadeIt avatar TobiMadeIt commented on May 29, 2024

I just tried that with no luck. I'm still getting the exact same error. I did some prior research as well. Multiple cases pointed to the package attempting to reference node legacy(node) instead of nodejs. Could that apply to this case?

from football-cli.

manrajgrover avatar manrajgrover commented on May 29, 2024

@TobiMadeIt Try it out. You might also want to give this a try.

from football-cli.

TobiMadeIt avatar TobiMadeIt commented on May 29, 2024

I'm a bit wary of

sudo chown -R $USER /usr/local

There doesn't seem to be a straight forward way of reverting the changes and there's a lot of talk warning against leaving things that way security wise.

I did try this though,

sudo chown -R $USER ~/.npm

but that didn't help

from football-cli.

manrajgrover avatar manrajgrover commented on May 29, 2024

@TobiMadeIt Apologies for the delay in replying. Is this still relevant? Were you able to fix it?

from football-cli.

manrajgrover avatar manrajgrover commented on May 29, 2024

@TobiMadeIt I'm closing this issue. If you're still facing this, let me know and I will reopen this.

from football-cli.

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.