Skip to content

Fix `yarn fix:config`

Nicolas Frandeboeuf requested to merge nicofrand/kresus:fixConfigFix into master

This fixes yarn fix:config generating an error.

nicofrand@desktop:~/www/kresus(master)$ yarn fix:config
yarn run v1.21.1
$ ./scripts/fix/config.sh
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module './helpers'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/nicofrand/www/kresus/server/config.js:4:1)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Module._compile (/home/nicofrand/www/kresus/node_modules/pirates/lib/index.js:99:24)
    at Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Object.newLoader [as .js] (/home/nicofrand/www/kresus/node_modules/pirates/lib/index.js:104:7)
    at Module.load (internal/modules/cjs/loader.js:653:32)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.               
nicofrand@desktop:~/www/kresus(master)$ ./scripts/fix/config.sh 
./scripts/fix/config.sh: ligne 4: babel-node : commande introuvable
Edited by Nicolas Frandeboeuf

Merge request reports

Loading