photobackup / server-node Goto Github PK
View Code? Open in Web Editor NEWThe NodeJS PhotoBackup server implementation
Home Page: https://photobackup.github.io/
License: GNU General Public License v2.0
The NodeJS PhotoBackup server implementation
Home Page: https://photobackup.github.io/
License: GNU General Public License v2.0
Those two packages breaks PBjs. In order to keep them up to date, a careful non-breaking study is required.
I keep getting this error when trying to init. It doesn't matter what password I type in, there's always an out of range error, with the numbers being different.
$ photobackup init
? The directory where to put the pictures (should be writable by the server you use): /some/path
? Owner of the directory: nobody
? The server password: **************
readline.js:1032
throw err;
^
RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 10. Received 12
at boundsError (internal/buffer.js:53:9)
at Buffer.readUInt32BE (internal/buffer.js:196:5)
at Function.WordArray.fromBuffer (/usr/lib/node_modules/photobackup/node_modules/sha512/lib/word-array.js:95:19)
at subtype.init.finalize (/usr/lib/node_modules/photobackup/node_modules/sha512/lib/cryptojs.js:273:33)
at /usr/lib/node_modules/photobackup/node_modules/sha512/lib/cryptojs.js:300:35
at module.exports.completed (/usr/lib/node_modules/photobackup/init.js:57:33)
at module.exports.PromptUI.onCompletion (/usr/lib/node_modules/photobackup/node_modules/inquirer/lib/ui/prompt.js:56:10)
at AnonymousObserver.Rx.AnonymousObserver.AnonymousObserver.completed (/usr/lib/node_modules/photobackup/node_modules/rx-lite/rx.lite.js:1826:12)
at AnonymousObserver.Rx.internals.AbstractObserver.AbstractObserver.onCompleted (/usr/lib/node_modules/photobackup/node_modules/rx-lite/rx.lite.js:1763:14)
at AnonymousObserver.tryCatcher (/usr/lib/node_modules/photobackup/node_modules/rx-lite/rx.lite.js:537:29)
Node 10.15.0, Debian Stretch.
Trying to install it into a jail on freenas (runs freebsd) and I have a couple of other things running there but I get this while trying to install:
Any tips or help?
npm install photobackup
/
`-- [email protected]
npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.