Giter Site home page Giter Site logo

Can't find lnd.cert about lncli-web HOT 6 CLOSED

mably avatar mably commented on August 23, 2024
Can't find lnd.cert

from lncli-web.

Comments (6)

mably avatar mably commented on August 23, 2024 2

You probably need to generate the lnd.cert file using the instructions available here:

https://github.com/mably/lncli-web/blob/master/README.md#generate-lnd-certificates-compatible-with-nodejs-grpc

from lncli-web.

mably avatar mably commented on August 23, 2024

Hi, thanks for using the lnd web client. The lnd.cert file is generated by the lnd daemon. You should probably find it in the .lnd directory or in the corresponding AppData folder on Windows. You need to start lnd at least once to generate the lnd.cert file.

from lncli-web.

Haafingar avatar Haafingar commented on August 23, 2024

I am having the same issue. Both me and my colleague are trying to get this client up. LND is running on the desired ports, but no such file exists in any directory on the machine. At a loss to figure out what to do next, there is very little in the way of documentation regarding the cert file.

fs.js:641
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open 'C:\LND\lncli-web\lncli-web\lnd.cert'
    at Error (native)
    at Object.fs.openSync (fs.js:641:18)
    at Object.fs.readFileSync (fs.js:509:33)
    at module.exports (C:\LND\lncli-web\lncli-web\app\lightning.js:12:19)
    at module.exports (C:\LND\lncli-web\lncli-web\app\server.js:38:42)
    at Object.<anonymous> (C:\LND\lncli-web\lncli-web\server.js:27:25)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)

from lncli-web.

ianrussel avatar ianrussel commented on August 23, 2024

@mably I am facing issue in Ubuntu 16. I cant find lnd folder. As per docs, its should be located in ~/.lnd but no folder exists there.

from lncli-web.

mably avatar mably commented on August 23, 2024

@ianrussel you must start lnd once for the .lnd directory to be created.

from lncli-web.

ianrussel avatar ianrussel commented on August 23, 2024

@mably yeah already fixed the issue by manually installing lnd

from lncli-web.

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.