adaltas / node-nikita-arch

3 stars 4 forks source link

Nikita schema validation config error #18

Open gboutry opened 3 years ago

gboutry commented 3 years ago

npm run bootstrap doesn't work out of the box

Expected Behavior

npm run boostrap should install Arch Linux out of the box

Current Behavior

npm run bootstrap fails at runtime

Error: NIKITA_SCHEMA_VALIDATION_CONFIG: one error was found in the configuration of action `call`: #/properties/enabled/type config/enabled must be boolean, type is "boolean".
    at Object.module.exports [as error] (/home/guillaume/projects/node-nikita-arch/node_modules/@nikitajs/core/lib/utils/error.js:36:10)
    at Object.validate (/home/guillaume/projects/node-nikita-arch/node_modules/@nikitajs/core/lib/plugins/tools/schema.js:194:26)
    at Object.handler (/home/guillaume/projects/node-nikita-arch/node_modules/@nikitajs/core/lib/plugins/metadata/schema.js:33:16)
    at Object.call (/home/guillaume/projects/node-nikita-arch/node_modules/plug-and-play/lib/index.js:193:13)

Steps to Reproduce

  1. clone latest commit
  2. npm i
  3. npm run bootstrap
  4. fill prompts

Context (Environment)

Host machine: Mac laptop Target: Dell Precision - Arch 2021.08.01

Reproduced this issue with a virtualbox VM with: Host Machine: Dell Precision - Arch 2021.08.01 Target: Virtual Box VM - Arch 2021.09.01

Workaround

Checkout repository at commit 363b6c0 and follow the procedure

wdavidw commented 3 years ago

Have you kept the standard output of the nikita command?