snowtrack / snowfs

SnowFS v1 - a fast, scalable version control file storage for graphic files :art:
https://www.snowtrack.io
GNU General Public License v3.0
1.3k stars 43 forks source link

Tests don't pass on fresh install #290

Open belkarx opened 2 years ago

belkarx commented 2 years ago

Describe the bug Upon cloning the repo and running tests (with no alteration), I get an error in : TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined

screenshot

To Reproduce Steps to reproduce the behavior:

  1. git clone the repo
  2. npm install; npm run test
  3. See error

Expected behavior Expect tests to pass on a fresh install

Desktop (please complete the following information):

sebastianrath commented 2 years ago

Thanks for the report. My guess is a missing installation of Git LFS. The error should be of course handled gracefully but it could explain why the tests didn't go through in the first place.

belkarx commented 2 years ago

Installing git-lfs resolves the problem. Maybe add a note that it's necessary in CONTRIBUTING.md? [Seems to be an overall Linux issue - I assumed just Arch however Debian doesn't package git-lfs with git either]