timeoff-management/timeoff-management-application

start error npm

DanielPuenteG opened this issue · 0 comments

You need to configure the SMTP_HOST variable to enable mails sending

You need to configure the SMTP_PORT variable to enable mails sending

You need to configure the SMTP_USER variable to enable mails sending

You need to configure the SMTP_PASSWORD variable to enable mails sending

sh: -n: unknown operand

90m..................] - : info using node@v6.10.3

TimeOff.Management@0.10.0 db-update /app/timeoff-management

node node_modules/.bin/sequelize db:migrate --config=config/db.json --models-path=lib/model/db/

Sequelize [Node: 6.10.3, CLI: 2.5.1, ORM: 3.33.0]

Error reading "config/db.json". Error: /app/timeoff-management/config/db.json: Unexpected token : in JSON at position 15

npm ERR! Linux 5.10.16.3-microsoft-standard-WSL2

npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run-script" "db-update"

npm ERR! node v6.10.3

npm ERR! npm v3.10.10

npm ERR! code ELIFECYCLE

npm ERR! TimeOff.Management@0.10.0 db-update: node node_modules/.bin/sequelize db:migrate --config=config/db.json --models-path=lib/model/db/

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the TimeOff.Management@0.10.0 db-update script 'node node_modules/.bin/sequelize db:migrate --config=config/db.json --models-path=lib/model/db/'.

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 TimeOff.Management package,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR! node node_modules/.bin/sequelize db:migrate --config=config/db.json --models-path=lib/model/db/

npm ERR! You can get information on how to open an issue for this project with:

npm ERR! npm bugs TimeOff.Management

npm ERR! Or if that isn't available, you can get their info via:

npm ERR! npm owner ls TimeOff.Management

npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

npm ERR! /app/timeoff-management/npm-debug.log

l[..................] - : info using node@v6.10.3

TimeOff.Management@0.10.0 start /app/timeoff-management

node bin/wwww

/app/timeoff-management/node_modules/nconf/lib/nconf/stores/file.js:160

throw new Error("Error parsing your configuration file: [" + this.file + ']: ' + ex.message);

^

Error: Error parsing your configuration file: [/app/timeoff-management/lib/../config/app.json]: Unexpected token , in JSON at position 169

at File.loadSync (/app/timeoff-management/node_modules/nconf/lib/nconf/stores/file.js:160:11)

at Provider.add (/app/timeoff-management/node_modules/nconf/lib/nconf/provider.js:137:23)

at Provider.file (/app/timeoff-management/node_modules/nconf/lib/nconf/provider.js:63:15)

at Object.<anonymous> (/app/timeoff-management/lib/config.js:9:4)

at Module._compile (module.js:570:32)

at Object.Module._extensions..js (module.js:579:10)

at Module.load (module.js:487:32)

at tryModuleLoad (module.js:446:12)

at Function.Module._load (module.js:438:3)

at Module.require (module.js:497:17)

npm ERR! Linux 5.10.16.3-microsoft-standard-WSL2

npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"

npm ERR! node v6.10.3

npm ERR! npm v3.10.10

npm ERR! code ELIFECYCLE

npm ERR! TimeOff.Management@0.10.0 start: node bin/wwww

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the TimeOff.Management@0.10.0 start script 'node bin/wwww'.

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 TimeOff.Management package,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR! node bin/wwww

npm ERR! You can get information on how to open an issue for this project with:

npm ERR! npm bugs TimeOff.Management

npm ERR! Or if that isn't available, you can get their info via:

npm ERR! npm owner ls TimeOff.Management

npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

npm ERR! /app/timeoff-management/npm-debug.log

You need to configure the SMTP_HOST variable to enable mails sending

You need to configure the SMTP_PORT variable to enable mails sending

You need to configure the SMTP_USER variable to enable mails sending

You need to configure the SMTP_PASSWORD variable to enable mails sending

sh: -n: unknown operand

90m..................] - : info using node@v6.10.3

TimeOff.Management@0.10.0 db-update /app/timeoff-management

node node_modules/.bin/sequelize db:migrate --config=config/db.json --models-path=lib/model/db/

Sequelize [Node: 6.10.3, CLI: 2.5.1, ORM: 3.33.0]

Error reading "config/db.json". Error: /app/timeoff-management/config/db.json: Unexpected token : in JSON at position 15

npm ERR! Linux 5.10.16.3-microsoft-standard-WSL2

npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run-script" "db-update"

npm ERR! node v6.10.3

npm ERR! npm v3.10.10

npm ERR! code ELIFECYCLE

npm ERR! TimeOff.Management@0.10.0 db-update: node node_modules/.bin/sequelize db:migrate --config=config/db.json --models-path=lib/model/db/

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the TimeOff.Management@0.10.0 db-update script 'node node_modules/.bin/sequelize db:migrate --config=config/db.json --models-path=lib/model/db/'.

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 TimeOff.Management package,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR! node node_modules/.bin/sequelize db:migrate --config=config/db.json --models-path=lib/model/db/

npm ERR! You can get information on how to open an issue for this project with:

npm ERR! npm bugs TimeOff.Management

npm ERR! Or if that isn't available, you can get their info via:

npm ERR! npm owner ls TimeOff.Management

npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

npm ERR! /app/timeoff-management/npm-debug.log

l[..................] - : info using node@v6.10.3

TimeOff.Management@0.10.0 start /app/timeoff-management

node bin/wwww

/app/timeoff-management/node_modules/nconf/lib/nconf/stores/file.js:160

throw new Error("Error parsing your configuration file: [" + this.file + ']: ' + ex.message);

^

Error: Error parsing your configuration file: [/app/timeoff-management/lib/../config/app.json]: Unexpected token , in JSON at position 169

at File.loadSync (/app/timeoff-management/node_modules/nconf/lib/nconf/stores/file.js:160:11)

at Provider.add (/app/timeoff-management/node_modules/nconf/lib/nconf/provider.js:137:23)

at Provider.file (/app/timeoff-management/node_modules/nconf/lib/nconf/provider.js:63:15)

at Object.<anonymous> (/app/timeoff-management/lib/config.js:9:4)

at Module._compile (module.js:570:32)

at Object.Module._extensions..js (module.js:579:10)

at Module.load (module.js:487:32)

at tryModuleLoad (module.js:446:12)

at Function.Module._load (module.js:438:3)

at Module.require (module.js:497:17)

npm ERR! Linux 5.10.16.3-microsoft-standard-WSL2

npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"

npm ERR! node v6.10.3

npm ERR! npm v3.10.10

npm ERR! code ELIFECYCLE

npm ERR! TimeOff.Management@0.10.0 start: node bin/wwww

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the TimeOff.Management@0.10.0 start script 'node bin/wwww'.

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 TimeOff.Management package,

npm ERR! not with npm itself.

npm ERR! Tell the author that this fails on your system:

npm ERR! node bin/wwww

npm ERR! You can get information on how to open an issue for this project with:

npm ERR! npm bugs TimeOff.Management

npm ERR! Or if that isn't available, you can get their info via:

npm ERR! npm owner ls TimeOff.Management

npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:

npm ERR! /app/timeoff-management/npm-debug.log