PhotoBackup / server-node

The NodeJS PhotoBackup server implementation
https://photobackup.github.io/
GNU General Public License v2.0
6 stars 3 forks source link

Any tips to install this on freebsd in a jail? #2

Open ovizii opened 7 years ago

ovizii commented 7 years ago

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
/
`-- photobackup@0.1.0

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.
stephanepechard commented 7 years ago

Sorry, I'm not familiar with Freenas. What version of Node do you use? How can I try to reproduce your problem? Is using the Python version an option? When I try the same command on my computer, I get the same warnings but the package is installed in node_modules nevertheless.

ovizii commented 7 years ago

Hi,

well, my freenas version is based on freebsd 10.3 - I am trying to install into a jail where I already have a few node based things running and if I can get this working that would be ideal. If this won't work, I can switch to other options, I saw you have a few implementations of photobackup.

Here is some info, maybe it helps figure this out:

node -v
v6.11.3

The 2nd step of the installation instructions say: photobackup init <name> but that doesn't work for me: photobackup init ovi photobackup: Command not found.

and yet it is there:

npm ll | grep photo
`-- photobackup@0.1.0
  | https://photobackup.github.io/

I'm new at this stuff, any more tips or questions? as I said, npm would be my first choice otherwise I'd have to move on.

I'll also try and ask on the freenas forums.

ovizii commented 7 years ago

OK, made some progress, THIS command did install correctly:

npm install -g photobackup

running the init however leaves me wondering if this is correct?

 photobackup init ovi
Usage:
  photobackup init
  photobackup run
  photobackup (-h | --help)
  photobackup --version
photobackup run ovi
Usage:
  photobackup init
  photobackup run
  photobackup (-h | --help)
  photobackup --version