Compat issues
Since JDrive is being developed on Arch Linux (who always have the latest nodejs version), there are some backward compatibility issues.
Here's a list of known compatibility issues
-
busybox Observed on Alpine Linux. Since
busybox
doesn't have support for nanosecond timestamps, the install ofcoreutils
package is necessary to makediff.js
work.- Install the package
coreutils
. - In a future release, there will be a config option to disable nanosecond comparison.
- Install the package
-
Node < 10.0 Observed on Alpine Linux.
Promise.prototype.finally
not supported. List of versions. After October 30th this should be fixed because NodeJS 10 replaces 8 as LTS.- Update - 2018-1-3: Alpine has old NodeJS version 8 instead of 10 (new LTS)
- A workaround is to download the compiled binary as it has the latest Node version (since 2300f64f) instead of getting it from
npm
. - Another one is to download from npm and compile yourself.
- Final fix is to have NodeJS 10.x on Alpine.
-
Unstable networks Observed on Laptop. JDrive is developed on a PC with a stable internet connection, so when I tested it on my laptop, when the WiFi got disconnected, JDrive crashed. (Error generated from Drive watcher, unhandled rejection event fired and JDrive exited). This is expected behaviour. To keep JDrive running, could add
Restart=on-failure
andRestartSec=4
to thesystemd --user
unit (Not default)
Edited by Víctor González