Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shivashis:generic-applications-portal (master)$ ./install.sh
- + DB_HOST=127.0.0.1
- + DB_USER=root
- + DB_PASSWORD=
- + DB_NAME=recruitment2017
- + npm install
- > bcrypt@1.0.3 install /home/shivashis/Documents/lifeLine/test/generic-applications-portal/node_modules/bcrypt
- > node-pre-gyp install --fallback-to-build
- [bcrypt] Success: "/home/shivashis/Documents/lifeLine/test/generic-applications-portal/node_modules/bcrypt/lib/binding/bcrypt_lib.node" is installed via remote
- npm WARN ajv-keywords@2.1.0 requires a peer of ajv@>=5.0.0 but none is installed. You must install peer dependencies yourself.
- npm WARN eslint-plugin-import@2.2.0 requires a peer of eslint@2.x - 3.x but none is installed. You must install peer dependencies yourself.
- npm WARN eslint-plugin-react@6.10.3 requires a peer of eslint@^2.0.0 || ^3.0.0 but none is installed. You must install peer dependencies yourself.
- added 1042 packages in 19.205s
- + cp server/config/session_config.js.sample server/config/session_config.js
- + cp server/config/config.js.sample server/config/config.js
- + cp server/config/gmail.js.sample server/config/gmail.js
- + sed -i 's/"username": [^,]+/"username": "root",/g' config.js
- sed: can't read config.js: No such file or directory
- + sed -i 's/"password": [^,]+/"password": "",/g' config.js
- sed: can't read config.js: No such file or directory
- + sed -i 's/"database": [^,]+/"database": "recruitment2017",/g' config.js
- sed: can't read config.js: No such file or directory
- + sed -i 's/"host": [^,]+/"host": "127.0.0.1",/g' config.js
- sed: can't read config.js: No such file or directory
- + cd server
- + '[' ']'
- + mysql -u root -e 'Create database recruitment2017;'
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
- + ../node_modules/.bin/sequelize db:migrate
- Sequelize CLI [Node: 8.4.0, CLI: 3.0.0, ORM: 4.11.5]
- WARNING: This version of Sequelize CLI is not fully compatible with Sequelize v4. https://github.com/sequelize/cli#sequelize-support
- Loaded configuration file "config/config.js".
- Using environment "development".
- ERROR: Access denied for user 'root'@'localhost' (using password: NO)
- + ../node_modules/.bin/sequelize seed:generate --name formElements
- Sequelize CLI [Node: 8.4.0, CLI: 3.0.0, ORM: 4.11.5]
- WARNING: This version of Sequelize CLI is not fully compatible with Sequelize v4. https://github.com/sequelize/cli#sequelize-support
- Successfully created seeders folder at "/home/shivashis/Documents/lifeLine/test/generic-applications-portal/server/seeders".
- New seed was created at /home/shivashis/Documents/lifeLine/test/generic-applications-portal/server/seeders/20170929141113-formElements.js .
- + node ../form_generator/index.js -l views/formLayout.ejs -s 'migrations/*-formElements.js' ../form_generator/sample.html
- module.js:491
- throw err;
- ^
- Error: Cannot find module 'cheerio'
- at Function.Module._resolveFilename (module.js:489:15)
- at Function.Module._load (module.js:439:25)
- at Module.require (module.js:517:17)
- at require (internal/module.js:11:18)
- at Object.<anonymous> (/home/shivashis/Documents/lifeLine/test/generic-applications-portal/form_generator/index.js:16:17)
- at Module._compile (module.js:573:30)
- at Object.Module._extensions..js (module.js:584:10)
- at Module.load (module.js:507:32)
- at tryModuleLoad (module.js:470:12)
- at Function.Module._load (module.js:462:3)
- + ../node_modules/.bin/sequelize db:seed:all
- Sequelize CLI [Node: 8.4.0, CLI: 3.0.0, ORM: 4.11.5]
- WARNING: This version of Sequelize CLI is not fully compatible with Sequelize v4. https://github.com/sequelize/cli#sequelize-support
- Loaded configuration file "config/config.js".
- Using environment "development".
- ERROR: Access denied for user 'root'@'localhost' (using password: NO)
- + node ./bin/www
- module.js:491
- throw err;
- ^
- Error: Cannot find module '../utils/indicative-custom-validation-server.js'
- at Function.Module._resolveFilename (module.js:489:15)
- at Function.Module._load (module.js:439:25)
- at Module.require (module.js:517:17)
- at require (internal/module.js:11:18)
- at Object.<anonymous> (/home/shivashis/Documents/lifeLine/test/generic-applications-portal/server/routes/applications.js:7:19)
- at Module._compile (module.js:573:30)
- at Object.Module._extensions..js (module.js:584:10)
- at Module.load (module.js:507:32)
- at tryModuleLoad (module.js:470:12)
- at Function.Module._load (module.js:462:3)
- shivashis:generic-applications-portal (master)$ cd server/config/
- shivashis:config (master)$ ls
- config.js gmail.js session_config.js
- config.js.sample gmail.js.sample session_config.js.sample
- shivashis:config (master)$ nano config.js
- shivashis:config (master)$ cd ..
- shivashis:server (master)$ cd ..
- shivashis:generic-applications-portal (master)$ npm start
- > generic-applications-portal@0.0.1 start /home/shivashis/Documents/lifeLine/test/generic-applications-portal
- > node ./server/bin/www
- module.js:491
- throw err;
- ^
- Error: Cannot find module '../utils/indicative-custom-validation-server.js'
- at Function.Module._resolveFilename (module.js:489:15)
- at Function.Module._load (module.js:439:25)
- at Module.require (module.js:517:17)
- at require (internal/module.js:11:18)
- at Object.<anonymous> (/home/shivashis/Documents/lifeLine/test/generic-applications-portal/server/routes/applications.js:7:19)
- at Module._compile (module.js:573:30)
- at Object.Module._extensions..js (module.js:584:10)
- at Module.load (module.js:507:32)
- at tryModuleLoad (module.js:470:12)
- at Function.Module._load (module.js:462:3)
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! generic-applications-portal@0.0.1 start: `node ./server/bin/www`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the generic-applications-portal@0.0.1 start script.
- npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
- npm ERR! A complete log of this run can be found in:
- npm ERR! /home/shivashis/.npm/_logs/2017-09-29T14_12_59_054Z-debug.log
- shivashis:generic-applications-portal (master)$ cd server/
- shivashis:server (master)$ ls
- app.js config migrations public seeders utils
- bin middlewares models routes uploads views
- shivashis:server (master)$ cd utils/
- shivashis:utils (master)$ ls
- indicative-custom-validation-server-template.js
- shivashis:utils (master)$ cp indicative-custom-validation-server-template.js indicative-custom-validation-server.js
- shivashis:utils (master)$ cd ..
- shivashis:server (master)$ cd ..
- shivashis:generic-applications-portal (master)$ npm start
- > generic-applications-portal@0.0.1 start /home/shivashis/Documents/lifeLine/test/generic-applications-portal
- > node ./server/bin/www
- /home/shivashis/Documents/lifeLine/test/generic-applications-portal/server/utils/indicative-custom-validation-server.js:7
- {{script-tag-functions}}
- ^
- ReferenceError: script is not defined
- at Object.<anonymous> (/home/shivashis/Documents/lifeLine/test/generic-applications-portal/server/utils/indicative-custom-validation-server.js:7:3)
- at Module._compile (module.js:573:30)
- at Object.Module._extensions..js (module.js:584:10)
- at Module.load (module.js:507:32)
- at tryModuleLoad (module.js:470:12)
- at Function.Module._load (module.js:462:3)
- at Module.require (module.js:517:17)
- at require (internal/module.js:11:18)
- at Object.<anonymous> (/home/shivashis/Documents/lifeLine/test/generic-applications-portal/server/routes/applications.js:7:19)
- at Module._compile (module.js:573:30)
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! generic-applications-portal@0.0.1 start: `node ./server/bin/www`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the generic-applications-portal@0.0.1 start script.
- npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
- npm ERR! A complete log of this run can be found in:
- npm ERR! /home/shivashis/.npm/_logs/2017-09-29T14_13_27_432Z-debug.log
- shivashis:generic-applications-portal (master)$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement