Ride-The-Lightning / RTL

Ride The Lightning - A full function web browser app for LND, C-Lightning and Eclair
MIT License
732 stars 157 forks source link

Can't run RTL 0.15.1 #1413

Closed ghost closed 1 week ago

ghost commented 1 week ago

I am running debian 11 on a rpi4, performing a fresh install following raspibolt guide and when I run "node rtl" I get this output: rtl@raspibolt:~/RTL $ node rtl node:internal/modules/esm/resolve:215 const resolvedOption = FSLegacyMainResolve(packageJsonUrlString, packageConfig.main, baseStringified); ^

Error: Cannot find package '/home/rtl/RTL/node_modules/request-promise/package.json' imported from /home/rtl/RTL/backend/utils/common.js at legacyMainResolve (node:internal/modules/esm/resolve:215:26) at packageResolve (node:internal/modules/esm/resolve:841:14) at moduleResolve (node:internal/modules/esm/resolve:927:18) at defaultResolve (node:internal/modules/esm/resolve:1157:11) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:227:38) at ModuleWrap. (node:internal/modules/esm/module_job:87:39) at link (node:internal/modules/esm/module_job:86:36) { code: 'ERR_MODULE_NOT_FOUND' }

Node.js v20.14.0

rtl@raspibolt:~/RTL $ npm -v 10.7.0

saubyk commented 1 week ago

Hi @lip2443 did the npm install complete successfully?

ghost commented 1 week ago

Yes, I found the issue, forgot to put the passwd in the config file lol, but now it works but can't access it through tor, gives me wrong passwd. In the config file, I see the passwd as plain text not hashed. I searched for similar issues here but found none, should I open another issue for that?

saubyk commented 1 week ago

I see the passwd as plain text not hashed

did you restart RTL after updating the password?

ghost commented 1 week ago

just found the solution, as I have to set the passwrd, in the config file the passhashed had been generated, I removed hashed put the new passwd, restarted it and now voilà! Thanks for the help!