Post
Topic
Board Bitcoin Technical Support
Re: Lightning Node testnet installation error
by
bitart
on 24/03/2018, 19:13:22 UTC
...
Have you checked the log?
Code:
C:\Users\rhedr\AppData\Roaming\npm-cache\_logs\2018-03-20T04_09_11_070Z-debug.log
Does it have more detailed error message or that contains only the same information as the screenshot?

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'setup' ]
2 info using npm@5.6.0
3 info using node@v9.9.0
4 verbose stack Error: missing script: setup
4 verbose stack     at run (C:\Program Files\nodejs\node_modules\npm\lib\run-script.js:151:19)
4 verbose stack     at C:\Program Files\nodejs\node_modules\npm\lib\run-script.js:61:5
4 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:115:5
4 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:402:5
4 verbose stack     at checkBinReferences_ (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:357:45)
4 verbose stack     at final (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:400:3)
4 verbose stack     at then (C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:160:5)
4 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:348:12
4 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:78:16
4 verbose stack     at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:532:3)
5 verbose cwd C:\Users\rhedr\Desktop\BitcoinVegan32\lightning-app
6 verbose Windows_NT 10.0.16299
7 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "setup"
8 verbose node v9.9.0
9 verbose npm  v5.6.0
10 error missing script: setup
I'm also not an expert but these lines seems suspicious for me:
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
7 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "setup"

There should not be double \\, usually it have to be just a single backslash like \

I'm not sure that this is the problem but you can give it a try to check the script if you can modify it to single backslash, it can't be worse, since it's not working at the moment.

The other reason why there are dobule backslashes in the program lines that this is a special scripting language I don't know, in this case I have no idea about the problem...