J'ai le même souci sur mon DIY sous Jeedom beta.
Voici le log généré quand je (ré)active le plugin.
Code : Tout sélectionner
npm ERR! Error: Attempt to unlock imap@~0.8.14, which hasn't been locked
npm ERR! at unlock (/usr/share/npm/lib/utils/locker.js:44:11)
npm ERR! at cb (/usr/share/npm/lib/cache/add-named.js:32:5)
npm ERR! at /usr/share/npm/lib/cache/add-named.js:41:20
npm ERR! at /usr/share/npm/lib/utils/locker.js:22:20
npm ERR! at /usr/share/npm/node_modules/inflight/inflight.js:22:7
npm ERR! at Array.forEach (native)
npm ERR! at res (/usr/share/npm/node_modules/inflight/inflight.js:21:9)
npm ERR! at /usr/lib/nodejs/once.js:17:15
npm ERR! at afterMkdir (/usr/share/npm/lib/cache/get-stat.js:53:14)
npm ERR! at /usr/lib/nodejs/mkdirp/index.js:46:53
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!
npm ERR! System Linux 3.19.0-30-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /usr/share/nginx/www/jeedom/plugins/maillistener/resources
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! Error: Attempt to unlock async@^0.9.0, which hasn't been locked
npm ERR! at unlock (/usr/share/npm/lib/utils/locker.js:44:11)
npm ERR! at cb (/usr/share/npm/lib/cache/add-named.js:32:5)
npm ERR! at /usr/share/npm/lib/cache/add-named.js:41:20
npm ERR! at /usr/share/npm/lib/utils/locker.js:30:7
npm ERR! at /usr/lib/nodejs/lockfile.js:161:38
npm ERR! at Object.oncomplete (fs.js:107:15)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!
npm ERR! System Linux 3.19.0-30-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /usr/share/nginx/www/jeedom/plugins/maillistener/resources
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /usr/share/nginx/www/jeedom/plugins/maillistener/resources/npm-debug.log
npm ERR! not ok code 0
npm ERR! Error: Attempt to unlock request, which hasn't been locked
npm ERR! at unlock (/usr/share/npm/lib/utils/locker.js:44:11)
npm ERR! at cb (/usr/share/npm/lib/cache/add-local.js:30:5)
npm ERR! at /usr/share/npm/lib/cache/add-local.js:47:20
npm ERR! at /usr/share/npm/lib/utils/locker.js:22:20
npm ERR! at /usr/share/npm/node_modules/inflight/inflight.js:22:7
npm ERR! at Array.forEach (native)
npm ERR! at res (/usr/share/npm/node_modules/inflight/inflight.js:21:9)
npm ERR! at /usr/lib/nodejs/once.js:17:15
npm ERR! at afterMkdir (/usr/share/npm/lib/cache/get-stat.js:53:14)
npm ERR! at /usr/lib/nodejs/mkdirp/index.js:46:53
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!
npm ERR! System Linux 3.19.0-30-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "request"
npm ERR! cwd /usr/share/nginx/www/jeedom/plugins/maillistener/resources
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /usr/share/nginx/www/jeedom/plugins/maillistener/resources/npm-debug.log
npm ERR! not ok code 0
npm ERR! Error: Attempt to unlock imap@~0.8.14, which hasn't been locked
npm ERR! at unlock (/usr/share/npm/lib/utils/locker.js:44:11)
npm ERR! at cb (/usr/share/npm/lib/cache/add-named.js:32:5)
npm ERR! at /usr/share/npm/lib/cache/add-named.js:41:20
npm ERR! at /usr/share/npm/lib/utils/locker.js:22:20
npm ERR! at /usr/share/npm/node_modules/inflight/inflight.js:22:7
npm ERR! at Array.forEach (native)
npm ERR! at res (/usr/share/npm/node_modules/inflight/inflight.js:21:9)
npm ERR! at /usr/lib/nodejs/once.js:17:15
npm ERR! at afterMkdir (/usr/share/npm/lib/cache/get-stat.js:53:14)
npm ERR! at /usr/lib/nodejs/mkdirp/index.js:46:53
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!
npm ERR! System Linux 3.19.0-30-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "imap"
npm ERR! cwd /usr/share/nginx/www/jeedom/plugins/maillistener/resources
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /usr/share/nginx/www/jeedom/plugins/maillistener/resources/npm-debug.log
npm ERR! not ok code 0
npm ERR! Error: Attempt to unlock mailparser@~0.4.6, which hasn't been locked
npm ERR! at unlock (/usr/share/npm/lib/utils/locker.js:44:11)
npm ERR! at cb (/usr/share/npm/lib/cache/add-named.js:32:5)
npm ERR! at /usr/share/npm/lib/cache/add-named.js:41:20
npm ERR! at /usr/share/npm/lib/utils/locker.js:22:20
npm ERR! at /usr/share/npm/node_modules/inflight/inflight.js:22:7
npm ERR! at Array.forEach (native)
npm ERR! at res (/usr/share/npm/node_modules/inflight/inflight.js:21:9)
npm ERR! at /usr/lib/nodejs/once.js:17:15
npm ERR! at afterMkdir (/usr/share/npm/lib/cache/get-stat.js:53:14)
npm ERR! at /usr/lib/nodejs/mkdirp/index.js:46:53
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!
npm ERR! System Linux 3.19.0-30-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "mailparser"
npm ERR! cwd /usr/share/nginx/www/jeedom/plugins/maillistener/resources
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /usr/share/nginx/www/jeedom/plugins/maillistener/resources/npm-debug.log
npm ERR! not ok code 0
npm ERR! Error: Attempt to unlock async@^0.9.0, which hasn't been locked
npm ERR! at unlock (/usr/share/npm/lib/utils/locker.js:44:11)
npm ERR! at cb (/usr/share/npm/lib/cache/add-named.js:32:5)
npm ERR! at /usr/share/npm/lib/cache/add-named.js:41:20
npm ERR! at /usr/share/npm/lib/utils/locker.js:22:20
npm ERR! at /usr/share/npm/node_modules/inflight/inflight.js:22:7
npm ERR! at Array.forEach (native)
npm ERR! at res (/usr/share/npm/node_modules/inflight/inflight.js:21:9)
npm ERR! at /usr/lib/nodejs/once.js:17:15
npm ERR! at afterMkdir (/usr/share/npm/lib/cache/get-stat.js:53:14)
npm ERR! at /usr/lib/nodejs/mkdirp/index.js:46:53
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!
npm ERR! System Linux 3.19.0-30-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "async"
npm ERR! cwd /usr/share/nginx/www/jeedom/plugins/maillistener/resources
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /usr/share/nginx/www/jeedom/plugins/maillistener/resources/npm-debug.log
npm ERR! not ok code 0
mkdir: cannot create directory 'attachments': File exists
module.js:340
throw err;
^
Error: Cannot find module 'imap'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/usr/share/nginx/www/jeedom/plugins/maillistener/resources/index.js:1:74)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
18-10-2015 11:32:14 | error | Impossible de lancer le démon maillistener, vérifiez le port
Je précise que www-data possède bien les droits nécessaires et que j'essaie d'accéder à une BAL Orange (même si ce n'est pas ce qui cause le problème, si j'en crois le log).