Closed danc closed 9 years ago
hi,
It s because the name of the app is not correct, should be
cozy-light install cozy/cozy-files
cozy-labs/cozy-files does not exist as a github repository.
In other words, we shall improve error message and unexpected behavior.
bye
this said, i m not sure it s a cozy-light compatible project, @frankrousseau can say better.
according to https://github.com/cozy/cozy-files/blob/master/server.coffee
seems to be, enjoy !
Yes that one is not compatible with Cozy Light. It's the upstream repository for Cozy. The Cozy Light version is cozy-labs/files
.
Ok, thanks, So I've been fooled by README.md of cozy-light, which mentions : Available applications
cozy-labs/tasky: simple and efficient task manager;
cozy-labs/cozy-calendar: alarm and events manager;
cozy-labs/cozy-files: file storage;
cozy-labs/cozy-contacts: contact book;
maboiteaspam/ma-clef-usb: another file storage.
I'll retest soon, and let you know (and make a pull request when I have time to). Thanks for pointing this out !
Hi, after successfully installing calendar and tasky, I have problems with files . any idea ?
$ cozy-light install cozy-labs/cozy-files info - Cozy Light | Installing app cozy-labs/cozy-files... error - Cozy Light | {} [Error: Parsing error : Unexpected token N, body= Not Found] error - Cozy Light | Cannot find given app manifest. error - Cozy Light | Make sure it lives on Github error - Cozy Light | or in the given directory. error - Cozy Light | cozy-labs/cozy-files installation failed. warn - Cozy Light | An exception is uncaught [TypeError: object is not a function] TypeError: object is not a function at addAppToConfig (/usr/local/lib/node_modules/cozy-light/lib/cozy-light.js:1123:9) at /usr/local/lib/node_modules/cozy-light/lib/cozy-light.js:445:25 at /usr/local/lib/node_modules/cozy-light/lib/cozy-light.js:425:11 at parseBody (/usr/local/lib/node_modules/cozy-light/node_modules/request-json-light/main.js:72:10) at IncomingMessage. (/usr/local/lib/node_modules/cozy-light/node_modules/request-json-light/main.js:95:14)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:929:16
at process._tickCallback (node.js:419:13)
info - Cozy Light | Stopping apps...
info - Cozy Light | Stopping plugins...
info - Cozy Light | ✓ cozy-labs/cozy-light-simple-dashboard
info - Cozy Light | Stopping server...
info - Cozy Light | ✓ main server
info - Cozy Light | Cozy Light was properly terminated.