cozy-labs / cozy-light

Personal Server Made Easy
http://cozy-labs.github.io/cozy-light/
GNU Affero General Public License v3.0
104 stars 13 forks source link

Can't install cozy-labs/cozy-files (node v0.10.29) #59

Closed danc closed 9 years ago

danc commented 9 years ago

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.

maboiteaspam commented 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

maboiteaspam commented 9 years ago

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 !

frankrousseau commented 9 years ago

Yes that one is not compatible with Cozy Light. It's the upstream repository for Cozy. The Cozy Light version is cozy-labs/files.

danc commented 9 years ago

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 !