Open frankrousseau opened 9 years ago
probably because it relies on globals. I ll check that tonight or tomorrow (..).
nop could not reproduce the warning/error doing the standard install procedure. Need to go further in auto testing to check about this right now.
hi,
could you send me npm ls -g | grep cozy
? Thanks.
now, doing,
npm i cozy-labs/cozy-light -g
cozy-light install maboiteaspam/cozy-dashboard
cozy-light add-plugin maboiteaspam/cozy-homepage
cozy-light start
works fine.
bye
I forgot I opened that thread. I will update you when I will work on Cozy Light again (probably on wednesday but maybe tonight).
Here is the error reported when I try to start the Dashboard app:
{ [Error: Cannot find module 'cozy-light'] code: 'MODULE_NOT_FOUND' }
error - Cozy Light | Can't load application cozy-dashboard.
please send me
npm ls -g | grep cozy
problem is located here https://github.com/maboiteaspam/cozy-dashboard/blob/master/application.js
var cozyLight = require('cozy-light');
i think i understand now
http://stackoverflow.com/questions/15636367/nodejs-require-a-global-module-package
this means the start / stop handler for app/plugin has to be updated to pass the cozyLight instance. Then needs to re factor this app.
When I start the Cozy Dashboard application it says that it can't find the
cozy-light
package. Do you have any idea of what is wrong?