Construindo-api-rest-com-nodejs]

Boa noite amigos!!!
Estou estudando o livro do Caio “Construindo API REST COM NODEJS” e estou tendo problemas a partir do Cap05 de SQLITE3 com SEQUELIZE onde esta dando o seguinde erro…

0 info it worked if it ends with ok
1 verbose cli [ ‘/home/eric/.nvm/versions/node/v5.11.0/bin/node’,
1 verbose cli ‘/home/eric/.nvm/versions/node/v5.11.0/bin/npm’,
1 verbose cli ‘start’ ]
2 info using npm@3.8.6
3 info using node@v5.11.0
4 verbose run-script [ ‘prestart’, ‘start’, ‘poststart’ ]
5 info lifecycle ntask-api@1.0.0~prestart: ntask-api@1.0.0
6 silly lifecycle ntask-api@1.0.0~prestart: no script for prestart, continuing
7 info lifecycle ntask-api@1.0.0~start: ntask-api@1.0.0
8 verbose lifecycle ntask-api@1.0.0~start: unsafe-perm in lifecycle true
9 verbose lifecycle ntask-api@1.0.0~start: PATH: /home/eric/.nvm/versions/node/v5.11.0/lib/node_modules/npm/bin/node-gyp-bin:/home/eric/dev/ntask-api/node_modules/.bin:/home/eric/.nvm/versions/node/v5.11.0/bin:/home/eric/.nvm/versions/node/v5.11.0/bin:/tmp/.mount_hyper-T6oyY5:/tmp/.mount_hyper-T6oyY5/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
10 verbose lifecycle ntask-api@1.0.0~start: CWD: /home/eric/dev/ntask-api
11 silly lifecycle ntask-api@1.0.0~start: Args: [ ‘-c’, ‘babel-node index.js’ ]
12 silly lifecycle ntask-api@1.0.0~start: Returned: code: 1 signal: null
13 info lifecycle ntask-api@1.0.0~start: Failed to exec start script
14 verbose stack Error: ntask-api@1.0.0 start: babel-node index.js
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (/home/eric/.nvm/versions/node/v5.11.0/lib/node_modules/npm/lib/utils/lifecycle.js:239:16)
14 verbose stack at emitTwo (events.js:100:13)
14 verbose stack at EventEmitter.emit (events.js:185:7)
14 verbose stack at ChildProcess. (/home/eric/.nvm/versions/node/v5.11.0/lib/node_modules/npm/lib/utils/spawn.js:24:14)
14 verbose stack at emitTwo (events.js:100:13)
14 verbose stack at ChildProcess.emit (events.js:185:7)
14 verbose stack at maybeClose (internal/child_process.js:850:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15 verbose pkgid ntask-api@1.0.0
16 verbose cwd /home/eric/dev/ntask-api
17 error Linux 4.15.0-20-generic
18 error argv “/home/eric/.nvm/versions/node/v5.11.0/bin/node” “/home/eric/.nvm/versions/node/v5.11.0/bin/npm” “start”
19 error node v5.11.0
20 error npm v3.8.6
21 error code ELIFECYCLE
22 error ntask-api@1.0.0 start: babel-node index.js
22 error Exit status 1
23 error Failed at the ntask-api@1.0.0 start script ‘babel-node index.js’.
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 ntask-api package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error babel-node index.js
23 error You can get information on how to open an issue for this project with:
23 error npm bugs ntask-api
23 error Or if that isn’t available, you can get their info via:
23 error npm owner ls ntask-api
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

Estou usando o NVM como recomendado com a versão que o livro está usando e nada!!!
quando dou um NPM START aparece o seguinte erro…
Error: Cannot find module ‘sequelize’
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:20:19)
at Object. (/home/eric/dev/ntask-api/db.js:1:1)
at Module._compile (module.js:413:34)
at loader (/home/eric/dev/ntask-api/node_modules/babel-register/lib/node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (/home/eric/dev/ntask-api/node_modules/babel-register/lib/node.js:154:7)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)

npm ERR! Linux 4.15.0-20-generic
npm ERR! argv “/home/eric/.nvm/versions/node/v5.11.0/bin/node” “/home/eric/.nvm/versions/node/v5.11.0/bin/npm” “start”
npm ERR! node v5.11.0
npm ERR! npm v3.8.6
npm ERR! code ELIFECYCLE
npm ERR! ntask-api@1.0.0 start: babel-node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ntask-api@1.0.0 start script ‘babel-node index.js’.
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 ntask-api package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! babel-node index.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs ntask-api
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls ntask-api
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/eric/dev/ntask-api/npm-debug.log

Mas eu instalei o SEQUELIZE, segue o package.json…

{
“name”: “ntask-api”,
“version”: “1.0.0”,
“description”: “Api de gestão de tarefas”,
“main”: “index.js”,
“scripts”: {
“start”: “babel-node index.js”
},
“author”: “Eric Silva”,
“dependencies”: {
“babel-cli”: “^6.5.1”,
“babel-preset-es2015”: “^6.5.0”,
“consign”: “^0.1.2”,
“express”: “^4.13.4”,
“sequelize”: “^3.19.2”,
“sqlite3”: “^4.0.9”
}
}

gostaria muito de uma luz para poder continuar os estudos!
me desculpem se for um erro de iniciante pois é o que sou!
VLW!