aiva icon indicating copy to clipboard operation
aiva copied to clipboard

setup fails

Open amirharati opened this issue 6 years ago • 0 comments

Hi, I am trying to install the cgkb demo. I got the following: npm modules already installed [Fri Mar 16 2018 16:52:55 GMT-0700 (PDT)] ERROR { "0": { "name": "SequelizeConnectionError", "message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client", "parent": { "code": "ER_NOT_SUPPORTED_AUTH_MODE", "errno": 1251, "sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MySQL client", "sqlState": "08004", "fatal": true }, "original": { "code": "ER_NOT_SUPPORTED_AUTH_MODE", "errno": 1251, "sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MySQL client", "sqlState": "08004", "fatal": true } }, "1": { "name": "SequelizeConnectionError", "message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client", "parent": { "code": "ER_NOT_SUPPORTED_AUTH_MODE", "errno": 1251, "sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MySQL client", "sqlState": "08004", "fatal": true }, "original": { "code": "ER_NOT_SUPPORTED_AUTH_MODE", "errno": 1251, "sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MySQL client", "sqlState": "08004", "fatal": true } }, "2": { "name": "SequelizeConnectionError", "message": "ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client", "parent": { "code": "ER_NOT_SUPPORTED_AUTH_MODE", "errno": 1251, "sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MySQL client", "sqlState": "08004", "fatal": true }, "original": { "code": "ER_NOT_SUPPORTED_AUTH_MODE", "errno": 1251, "sqlMessage": "Client does not support authentication protocol requested by server; consider upgrading MySQL client", "sqlState": "08004", "fatal": true } }, "length": 3 }

Sequelize [Node: 6.7.0, CLI: 2.8.0, ORM: 3.32.1]

Loaded configuration file "config/db.json". Using environment "development". Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client

Sequelize [Node: 6.7.0, CLI: 2.8.0, ORM: 3.32.1]

Loaded configuration file "config/db.json". Using environment "test". Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client

Sequelize [Node: 6.7.0, CLI: 2.8.0, ORM: 3.32.1]

Loaded configuration file "config/db.json". Using environment "production". Unable to connect to database: SequelizeConnectionError: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client

npm ERR! Linux 4.4.0-116-generic npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "setup" npm ERR! node v6.7.0 npm ERR! npm v3.10.3 npm ERR! code ELIFECYCLE npm ERR! [email protected] setup: bin/setup npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] setup script 'bin/setup'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the aiva package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! bin/setup npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs aiva npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls aiva npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /home/amir/repos/aiva/npm-debug.log

here is from log file: 0 info it worked if it ends with ok 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'setup' ] 2 info using [email protected] 3 info using [email protected] 4 verbose run-script [ 'presetup', 'setup', 'postsetup' ] 5 info lifecycle [email protected]~presetup: [email protected] 6 silly lifecycle [email protected]~presetup: no script for presetup, continuing 7 info lifecycle [email protected]~setup: [email protected] 8 verbose lifecycle [email protected]~setup: unsafe-perm in lifecycle true 9 verbose lifecycle [email protected]~setup: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/home/amir/repos/aiva/node_modules/.bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin 10 verbose lifecycle [email protected]~setup: CWD: /home/amir/repos/aiva 11 silly lifecycle [email protected]~setup: Args: [ '-c', 'bin/setup' ] 12 silly lifecycle [email protected]~setup: Returned: code: 1 signal: null 13 info lifecycle [email protected]~setup: Failed to exec setup script 14 verbose stack Error: [email protected] setup: bin/setup 14 verbose stack Exit status 1 14 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:242:16) 14 verbose stack at emitTwo (events.js:106:13) 14 verbose stack at EventEmitter.emit (events.js:191:7) 14 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14) 14 verbose stack at emitTwo (events.js:106:13) 14 verbose stack at ChildProcess.emit (events.js:191:7) 14 verbose stack at maybeClose (internal/child_process.js:877:16) 14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5) 15 verbose pkgid [email protected] 16 verbose cwd /home/amir/repos/aiva 17 error Linux 4.4.0-116-generic 18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "setup" 19 error node v6.7.0 20 error npm v3.10.3 21 error code ELIFECYCLE 22 error [email protected] setup: bin/setup 22 error Exit status 1 23 error Failed at the [email protected] setup script 'bin/setup'. 23 error Make sure you have the latest version of node.js and npm installed. 23 error If you do, this is most likely a problem with the aiva package, 23 error not with npm itself. 23 error Tell the author that this fails on your system: 23 error bin/setup 23 error You can get information on how to open an issue for this project with: 23 error npm bugs aiva 23 error Or if that isn't available, you can get their info via: 23 error npm owner ls aiva 23 error There is likely additional logging output above. 24 verbose exit [ 1, true ]

amirharati avatar Mar 16 '18 20:03 amirharati