problemas com o bootcli

0

Eu instalei o bootstrap-cli usando

sudo npm install -g bootstrap-cli

A versão é 5.6.0

Quando eu quero rodar o bootstrap-cli, recebo um monte de erros:

 bootstrap new --template empty-bootstrap-project-gulp

Os erros:

readline.js:980
            throw err;
            ^

TypeError: Cannot read property 'url' of undefined
    at gitClone (/usr/lib/node_modules/bootstrap-cli/lib/commands/new.js:59:56)
    at /usr/lib/node_modules/bootstrap-cli/node_modules/async/lib/async.js:607:21
    at /usr/lib/node_modules/bootstrap-cli/node_modules/async/lib/async.js:246:17
    at iterate (/usr/lib/node_modules/bootstrap-cli/node_modules/async/lib/async.js:146:13)
    at /usr/lib/node_modules/bootstrap-cli/node_modules/async/lib/async.js:157:25
    at /usr/lib/node_modules/bootstrap-cli/node_modules/async/lib/async.js:248:21
    at /usr/lib/node_modules/bootstrap-cli/node_modules/async/lib/async.js:612:34
    at PromptUI.completed (/usr/lib/node_modules/bootstrap-cli/lib/commands/new.js:51:7)
    at PromptUI.onCompletion (/usr/lib/node_modules/bootstrap-cli/node_modules/inquirer/lib/ui/prompt.js:69:10)

O que posso fazer para corrigir isso?

    
por Jos 05.01.2018 / 07:54

0 respostas