Install issue with BRAT?
Folcon opened this issue · 5 comments
I've manually installed it, but there are still issues:
VM149:29 Uncaught (in promise) Nonzero exitcode.
STDERR: /Users/folcon/.local/bin/reSnap.sh: line 163: ffmpeg: command not found
/Users/folcon/.local/bin/reSnap.sh: line 162: lz4: command not found
Once I amended reSnap to specify absolute paths for the above, this happened:
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'replaceRange')
at MyPlugin.eval (eval at <anonymous> (app.js:1:1), <anonymous>:5845:24)
at Generator.next (<anonymous>)
at fulfilled (eval at <anonymous> (app.js:1:1), <anonymous>:28:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
The thing is, I can call reSnap.sh from the command line and it works, so that's not the problem.
I've also managed to successfully call the js functions from node in the command line, so not sure where the specific issue is. I don't have time to debug this further at the moment.
I've created a PR that fixes the ffmpeg and lz4 issues (cloudsftp/reSnap#6).
I've also got a WIP pull here (Folcon#1), I've still not pinned down why the file doesn't get written.
I don't have time to debug this further at the moment.
Ok, so that got merged into cloudsftp/reSnap.
@boemska-nik, just gave this a quick go and I got this:
Uncaught (in promise) Nonzero exitcode.
STDERR:
STDOUT: head not found on reMarkable 2.0. Please refer to the README
That's not to say your branch doesn't work, I need to properly debug it to work out where the problem is =)...