Giter Site home page Giter Site logo

Comments (6)

shesek avatar shesek commented on May 23, 2024

Hi @laziobird, can you try following the instructions under "Option Two: Change npm's Default Directory" to have npm install global packages to your home directory?

I'm not entirely certain that this will resolve your issue, but I think there's a pretty good chance it will. And even if not, this generally makes working with global npm packages more convenient and resolves some weird permission-related issues.

You can alternatively also try running charge using docker.

from lightning-charge.

laziobird avatar laziobird commented on May 23, 2024

Try this instructions under "Option Two: Change npm's Default Directory" , it still can't work.

node-pre-gyp install --fallback-to-build

sh: 1: node-pre-gyp: Permission denied
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/lightning-charge/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] install: `node-pre-gyp install --fallback-to-build`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-04-13T11_03_07_616Z-debug.log

from lightning-charge.

laziobird avatar laziobird commented on May 23, 2024

Sorry,shesek . I don't run docker because it is too heavy to install many services.

from lightning-charge.

laziobird avatar laziobird commented on May 23, 2024

Waiting for your reply ,thanks

from lightning-charge.

laziobird avatar laziobird commented on May 23, 2024

By the way, the restful API can't be accessed by remote node ?

from lightning-charge.

shesek avatar shesek commented on May 23, 2024

We chatted over IM, the issue was resolved.

from lightning-charge.

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.