I can't execute branch 1.6 (commit 9989856c) after use the plug command
$ bin/duniter direct_startmodule.js:538 throw err; ^Error: Cannot find module 'co' at Function.Module._resolveFilename (module.js:536:15) at Function.Module._load (module.js:466:25) at Module.require (module.js:579:17) at require (internal/module.js:11:18) at Object.<anonymous> (/home/elois/dev/duniter/bin/duniter:4:12) at Module._compile (module.js:635:30) at Object.Module._extensions..js (module.js:646:10) at Module.load (module.js:554:32) at tryModuleLoad (module.js:497:12) at Function.Module._load (module.js:489:3)
Edited
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related.
Learn more.
702 passing (7m) 1 failing 1) WS2P server limitations should connect to s3 because of configuration favorism: Error: Timeout of 20000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. at Timeout.<anonymous> (/home/nanocryk/downloads/duniter/node_modules/mocha/lib/runnable.js:232:19) at ontimeout (timers.js:475:11) at tryOnTimeout (timers.js:310:5) at Timer.listOnTimeout (timers.js:270:5)error Command failed with exit code 1.
@c-geek l'erreur persiste, elle survient lorsque j'installe duniter-ui, toujours impossible de faire fonctionner la branche 1.6 pour moi, donc impossible de livrer...
les tests passent mais svp essayez **d'éxécuter duniter ** via direct_start ou direct_web_start
@c-geek Je précise : tout fonctionne parfaitement bien sans duniter-ui, pour reproduire le bug il faut plugger duniter-ui puis tenter de lancer le noeud, et alors même un direct_start plante et donne :
@c-geek I've pinpointed more precisely the origin of the problem, it's the plug command that breaks duniter, impossible to run duniter after executing the plug command, I can reproduce the problem every time and on several different machines! In addition, the problem comes from the transition to node 8.
The plug command seems to uninstall important elements :
$ bin/duniter plug duniter-ui@1.6.xTrying to install module "duniter-ui@1.6.x"...true truenpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/.bin/rimraf as it wasn't installed by /home/elois/dev/duniter/node_modules/rimrafnpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/wotb/node_modules/node-pre-gyp/node_modules/.bin/semver as it wasn't installed by /home/elois/dev/duniter/node_modules/wotb/node_modules/node-pre-gyp/node_modules/semvernpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/wotb/node_modules/node-pre-gyp/node_modules/.bin/rimraf as it wasn't installed by /home/elois/dev/duniter/node_modules/wotb/node_modules/node-pre-gyp/node_modules/rimrafnpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/wotb/node_modules/node-pre-gyp/node_modules/.bin/rc as it wasn't installed by /home/elois/dev/duniter/node_modules/wotb/node_modules/node-pre-gyp/node_modules/rcnpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/wotb/node_modules/node-pre-gyp/node_modules/.bin/nopt as it wasn't installed by /home/elois/dev/duniter/node_modules/wotb/node_modules/node-pre-gyp/node_modules/noptnpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/wotb/node_modules/node-pre-gyp/node_modules/.bin/mkdirp as it wasn't installed by /home/elois/dev/duniter/node_modules/wotb/node_modules/node-pre-gyp/node_modules/mkdirpnpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/.bin/rc as it wasn't installed by /home/elois/dev/duniter/node_modules/rcnpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/eslint/node_modules/.bin/js-yaml as it wasn't installed by /home/elois/dev/duniter/node_modules/eslint/node_modules/js-yamlnpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/.bin/semver as it wasn't installed by /home/elois/dev/duniter/node_modules/semvernpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/scryptb/node_modules/.bin/node-pre-gyp as it wasn't installed by /home/elois/dev/duniter/node_modules/scryptb/node_modules/node-pre-gypnpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/scryptb/node_modules/node-pre-gyp/node_modules/.bin/semver as it wasn't installed by /home/elois/dev/duniter/node_modules/scryptb/node_modules/node-pre-gyp/node_modules/semvernpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/scryptb/node_modules/node-pre-gyp/node_modules/.bin/rimraf as it wasn't installed by /home/elois/dev/duniter/node_modules/scryptb/node_modules/node-pre-gyp/node_modules/rimrafnpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/scryptb/node_modules/node-pre-gyp/node_modules/.bin/rc as it wasn't installed by /home/elois/dev/duniter/node_modules/scryptb/node_modules/node-pre-gyp/node_modules/rcnpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/scryptb/node_modules/node-pre-gyp/node_modules/.bin/nopt as it wasn't installed by /home/elois/dev/duniter/node_modules/scryptb/node_modules/node-pre-gyp/node_modules/noptnpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/scryptb/node_modules/node-pre-gyp/node_modules/.bin/mkdirp as it wasn't installed by /home/elois/dev/duniter/node_modules/scryptb/node_modules/node-pre-gyp/node_modules/mkdirpnpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/q-io/node_modules/.bin/mime as it wasn't installed by /home/elois/dev/duniter/node_modules/q-io/node_modules/mimenpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/.bin/nopt as it wasn't installed by /home/elois/dev/duniter/node_modules/noptnpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/nyc/node_modules/.bin/rimraf as it wasn't installed by /home/elois/dev/duniter/node_modules/nyc/node_modules/rimrafnpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/nyc/node_modules/.bin/mkdirp as it wasn't installed by /home/elois/dev/duniter/node_modules/nyc/node_modules/mkdirpnpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/node-pre-gyp/node_modules/.bin/rc as it wasn't installed by /home/elois/dev/duniter/node_modules/node-pre-gyp/node_modules/rcnpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/node-pre-gyp/node_modules/.bin/nopt as it wasn't installed by /home/elois/dev/duniter/node_modules/node-pre-gyp/node_modules/noptnpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/.bin/esparse as it wasn't installed by /home/elois/dev/duniter/node_modules/esprimanpm WARN gentlyRm not removing /home/elois/dev/duniter/node_modules/.bin/esvalidate as it wasn't installed by /home/elois/dev/duniter/node_modules/esprimanpm notice created a lockfile as package-lock.json. You should commit this file.npm WARN duniter-ui@1.6.30 requires a peer of duniter@1.6.x but none is installed. You must install peer dependencies yourself.npm WARN request-promise-core@1.1.1 requires a peer of request@^2.34 but none is installed. You must install peer dependencies yourself.npm WARN The package sha1 is included as both a dev and production dependency.+ duniter-ui@1.6.30added 34 packages, removed 1340 packages, updated 161 packages and moved 3 packages in 21.817sModule successfully installed.