2016-04-15 5 views
0

Я пытаюсь сделать развернуть проект jhipster 3.0.0 на AWS, следуя руководство здесь: http://jhipster.github.io/aws/Jhipster 3.0.0 развернуть на AWS

Проблема в том, что «лет jhipster: AWS» команда не выполняется следующее ошибка:

D:\Jenkins\workspace\CasualtyManager>yo jhipster:aws 
D:\Jenkins\workspace\CasualtyManager\node_modules\generator-jhipster\generators\aws\lib\s3.js:87 
       httpOptions: {timeout: 600000} 
       ^^^^^^^^^^^ 

SyntaxError: Unexpected identifier 
    at exports.runInThisContext (vm.js:53:16) 
    at Module._compile (module.js:373:25) 
    at Object.Module._extensions..js (module.js:416:10) 
    at Module.load (module.js:343:32) 
    at Function.Module._load (module.js:300:12) 
    at Module.require (module.js:353:17) 
    at require (internal/module.js:12:17) 
    at Object.<anonymous> (D:\Jenkins\workspace\CasualtyManager\node_modules\generator-jhipster\generators\aws\lib\aws.js:2:10) 
    at Module._compile (module.js:409:26) 
    at Object.Module._extensions..js (module.js:416:10) 

ответ

0

У меня была эта проблема. Я разрешил его, добавив , после signatureVersion и httpOptions в файл s3.js. Он должен выглядеть следующим образом:

signatureVersion: 'v4', 
httpOptions: {timeout: 600000}, 
Смежные вопросы