Advertisement
Guest User

Untitled

a guest
Sep 29th, 2017
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 8.03 KB | None | 0 0
  1. shivashis:generic-applications-portal (master)$ ./install.sh
  2. + DB_HOST=127.0.0.1
  3. + DB_USER=root
  4. + DB_PASSWORD=
  5. + DB_NAME=recruitment2017
  6. + npm install
  7.  
  8. > bcrypt@1.0.3 install /home/shivashis/Documents/lifeLine/test/generic-applications-portal/node_modules/bcrypt
  9. > node-pre-gyp install --fallback-to-build
  10.  
  11. [bcrypt] Success: "/home/shivashis/Documents/lifeLine/test/generic-applications-portal/node_modules/bcrypt/lib/binding/bcrypt_lib.node" is installed via remote
  12. 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.
  13. 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.
  14. 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.
  15.  
  16. added 1042 packages in 19.205s
  17. + cp server/config/session_config.js.sample server/config/session_config.js
  18. + cp server/config/config.js.sample server/config/config.js
  19. + cp server/config/gmail.js.sample server/config/gmail.js
  20. + sed -i 's/"username": [^,]+/"username": "root",/g' config.js
  21. sed: can't read config.js: No such file or directory
  22. + sed -i 's/"password": [^,]+/"password": "",/g' config.js
  23. sed: can't read config.js: No such file or directory
  24. + sed -i 's/"database": [^,]+/"database": "recruitment2017",/g' config.js
  25. sed: can't read config.js: No such file or directory
  26. + sed -i 's/"host": [^,]+/"host": "127.0.0.1",/g' config.js
  27. sed: can't read config.js: No such file or directory
  28. + cd server
  29. + '[' ']'
  30. + mysql -u root -e 'Create database recruitment2017;'
  31. ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
  32. + ../node_modules/.bin/sequelize db:migrate
  33.  
  34. Sequelize CLI [Node: 8.4.0, CLI: 3.0.0, ORM: 4.11.5]
  35.  
  36. WARNING: This version of Sequelize CLI is not fully compatible with Sequelize v4. https://github.com/sequelize/cli#sequelize-support
  37.  
  38. Loaded configuration file "config/config.js".
  39. Using environment "development".
  40.  
  41. ERROR: Access denied for user 'root'@'localhost' (using password: NO)
  42.  
  43. + ../node_modules/.bin/sequelize seed:generate --name formElements
  44.  
  45. Sequelize CLI [Node: 8.4.0, CLI: 3.0.0, ORM: 4.11.5]
  46.  
  47. WARNING: This version of Sequelize CLI is not fully compatible with Sequelize v4. https://github.com/sequelize/cli#sequelize-support
  48.  
  49. Successfully created seeders folder at "/home/shivashis/Documents/lifeLine/test/generic-applications-portal/server/seeders".
  50. New seed was created at /home/shivashis/Documents/lifeLine/test/generic-applications-portal/server/seeders/20170929141113-formElements.js .
  51. + node ../form_generator/index.js -l views/formLayout.ejs -s 'migrations/*-formElements.js' ../form_generator/sample.html
  52. module.js:491
  53.     throw err;
  54.     ^
  55.  
  56. Error: Cannot find module 'cheerio'
  57.     at Function.Module._resolveFilename (module.js:489:15)
  58.     at Function.Module._load (module.js:439:25)
  59.     at Module.require (module.js:517:17)
  60.     at require (internal/module.js:11:18)
  61.     at Object.<anonymous> (/home/shivashis/Documents/lifeLine/test/generic-applications-portal/form_generator/index.js:16:17)
  62.     at Module._compile (module.js:573:30)
  63.     at Object.Module._extensions..js (module.js:584:10)
  64.     at Module.load (module.js:507:32)
  65.     at tryModuleLoad (module.js:470:12)
  66.     at Function.Module._load (module.js:462:3)
  67. + ../node_modules/.bin/sequelize db:seed:all
  68.  
  69. Sequelize CLI [Node: 8.4.0, CLI: 3.0.0, ORM: 4.11.5]
  70.  
  71. WARNING: This version of Sequelize CLI is not fully compatible with Sequelize v4. https://github.com/sequelize/cli#sequelize-support
  72.  
  73. Loaded configuration file "config/config.js".
  74. Using environment "development".
  75.  
  76. ERROR: Access denied for user 'root'@'localhost' (using password: NO)
  77.  
  78. + node ./bin/www
  79. module.js:491
  80.     throw err;
  81.     ^
  82.  
  83. Error: Cannot find module '../utils/indicative-custom-validation-server.js'
  84.     at Function.Module._resolveFilename (module.js:489:15)
  85.     at Function.Module._load (module.js:439:25)
  86.     at Module.require (module.js:517:17)
  87.     at require (internal/module.js:11:18)
  88.     at Object.<anonymous> (/home/shivashis/Documents/lifeLine/test/generic-applications-portal/server/routes/applications.js:7:19)
  89.     at Module._compile (module.js:573:30)
  90.     at Object.Module._extensions..js (module.js:584:10)
  91.     at Module.load (module.js:507:32)
  92.     at tryModuleLoad (module.js:470:12)
  93.     at Function.Module._load (module.js:462:3)
  94. shivashis:generic-applications-portal (master)$ cd server/config/
  95. shivashis:config (master)$ ls
  96. config.js         gmail.js         session_config.js
  97. config.js.sample  gmail.js.sample  session_config.js.sample
  98. shivashis:config (master)$ nano config.js
  99. shivashis:config (master)$ cd ..
  100. shivashis:server (master)$ cd ..
  101. shivashis:generic-applications-portal (master)$ npm start
  102.  
  103. > generic-applications-portal@0.0.1 start /home/shivashis/Documents/lifeLine/test/generic-applications-portal
  104. > node ./server/bin/www
  105.  
  106. module.js:491
  107.     throw err;
  108.     ^
  109.  
  110. Error: Cannot find module '../utils/indicative-custom-validation-server.js'
  111.     at Function.Module._resolveFilename (module.js:489:15)
  112.     at Function.Module._load (module.js:439:25)
  113.     at Module.require (module.js:517:17)
  114.     at require (internal/module.js:11:18)
  115.     at Object.<anonymous> (/home/shivashis/Documents/lifeLine/test/generic-applications-portal/server/routes/applications.js:7:19)
  116.     at Module._compile (module.js:573:30)
  117.     at Object.Module._extensions..js (module.js:584:10)
  118.     at Module.load (module.js:507:32)
  119.     at tryModuleLoad (module.js:470:12)
  120.     at Function.Module._load (module.js:462:3)
  121. npm ERR! code ELIFECYCLE
  122. npm ERR! errno 1
  123. npm ERR! generic-applications-portal@0.0.1 start: `node ./server/bin/www`
  124. npm ERR! Exit status 1
  125. npm ERR!
  126. npm ERR! Failed at the generic-applications-portal@0.0.1 start script.
  127. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  128.  
  129. npm ERR! A complete log of this run can be found in:
  130. npm ERR!     /home/shivashis/.npm/_logs/2017-09-29T14_12_59_054Z-debug.log
  131. shivashis:generic-applications-portal (master)$ cd server/
  132. shivashis:server (master)$ ls
  133. app.js  config       migrations  public  seeders  utils
  134. bin     middlewares  models      routes  uploads  views
  135. shivashis:server (master)$ cd utils/
  136. shivashis:utils (master)$ ls
  137. indicative-custom-validation-server-template.js
  138. shivashis:utils (master)$ cp indicative-custom-validation-server-template.js  indicative-custom-validation-server.js
  139. shivashis:utils (master)$ cd ..
  140. shivashis:server (master)$ cd ..
  141. shivashis:generic-applications-portal (master)$ npm start
  142.  
  143. > generic-applications-portal@0.0.1 start /home/shivashis/Documents/lifeLine/test/generic-applications-portal
  144. > node ./server/bin/www
  145.  
  146. /home/shivashis/Documents/lifeLine/test/generic-applications-portal/server/utils/indicative-custom-validation-server.js:7
  147. {{script-tag-functions}}
  148.   ^
  149.  
  150. ReferenceError: script is not defined
  151.     at Object.<anonymous> (/home/shivashis/Documents/lifeLine/test/generic-applications-portal/server/utils/indicative-custom-validation-server.js:7:3)
  152.     at Module._compile (module.js:573:30)
  153.     at Object.Module._extensions..js (module.js:584:10)
  154.     at Module.load (module.js:507:32)
  155.     at tryModuleLoad (module.js:470:12)
  156.     at Function.Module._load (module.js:462:3)
  157.     at Module.require (module.js:517:17)
  158.     at require (internal/module.js:11:18)
  159.     at Object.<anonymous> (/home/shivashis/Documents/lifeLine/test/generic-applications-portal/server/routes/applications.js:7:19)
  160.     at Module._compile (module.js:573:30)
  161. npm ERR! code ELIFECYCLE
  162. npm ERR! errno 1
  163. npm ERR! generic-applications-portal@0.0.1 start: `node ./server/bin/www`
  164. npm ERR! Exit status 1
  165. npm ERR!
  166. npm ERR! Failed at the generic-applications-portal@0.0.1 start script.
  167. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  168.  
  169. npm ERR! A complete log of this run can be found in:
  170. npm ERR!     /home/shivashis/.npm/_logs/2017-09-29T14_13_27_432Z-debug.log
  171. shivashis:generic-applications-portal (master)$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement