Advertisement
Pixflowave

dodoc-debug

Apr 29th, 2021
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.33 KB | None | 0 0
  1. pixnwave@localhost:~$ ls
  2. Documents do.doc dodoc-mqe
  3. pixnwave@localhost:~$ mkdir dodoc-stable
  4. pixnwave@localhost:~$ cd dodoc-stable
  5. pixnwave@localhost:~/dodoc-stable$ git clone https://github.com/l-atelier-des-chercheurs/dodoc.git dodoc-s1
  6. Cloning into 'dodoc-s1'...
  7. remote: Enumerating objects: 50839, done.
  8. remote: Counting objects: 100% (3354/3354), done.
  9. remote: Compressing objects: 100% (701/701), done.
  10. remote: Total 50839 (delta 2885), reused 3100 (delta 2651), pack-reused 47485
  11. Receiving objects: 100% (50839/50839), 215.93 MiB | 23.07 MiB/s, done.
  12. Resolving deltas: 100% (32285/32285), done.
  13. pixnwave@localhost:~/dodoc-stable$ cd dodoc-s1
  14. pixnwave@localhost:~/dodoc-stable/dodoc-s1$ git checkout dodoc2-node
  15. Branch 'dodoc2-node' set up to track remote branch 'dodoc2-node' from 'origin'.
  16. Switched to a new branch 'dodoc2-node'
  17. pixnwave@localhost:~/dodoc-stable/dodoc-s1$ npm install
  18. npm WARN deprecated har-validator@5.1.5: this library is no longer supported
  19. npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
  20. npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
  21. npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
  22. npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
  23. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
  24. npm WARN deprecated node-pre-gyp@0.15.0: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
  25.  
  26. added 486 packages, and audited 487 packages in 16s
  27.  
  28. 20 packages are looking for funding
  29. run `npm fund` for details
  30.  
  31. 5 high severity vulnerabilities
  32.  
  33. Some issues need review, and may require choosing
  34. a different dependency.
  35.  
  36. Run `npm audit` for details.
  37. pixnwave@localhost:~/dodoc-stable/dodoc-s1$ cd public
  38. pixnwave@localhost:~/dodoc-stable/dodoc-s1/public$ npm install
  39. npm WARN EBADENGINE Unsupported engine {
  40. npm WARN EBADENGINE package: 'webrtc-adapter@1.4.0',
  41. npm WARN EBADENGINE required: { npm: '~3.0.0' },
  42. npm WARN EBADENGINE current: { node: 'v12.18.3', npm: '7.5.4' }
  43. npm WARN EBADENGINE }
  44.  
  45. added 1344 packages, and audited 1411 packages in 14s
  46.  
  47. 37 vulnerabilities (4 low, 11 moderate, 21 high, 1 critical)
  48.  
  49. To address issues that do not require attention, run:
  50. npm audit fix
  51.  
  52. To address all issues possible (including breaking changes), run:
  53. npm audit fix --force
  54.  
  55. Some issues need review, and may require choosing
  56. a different dependency.
  57.  
  58. Run `npm audit` for details.
  59. pixnwave@localhost:~/dodoc-stable/dodoc-s1/public$ npm run build
  60.  
  61. > dodoc2@0.1.0 build
  62. > cross-env NODE_ENV=production browserify -g envify -e src/main.js | uglifyjs -c warnings=false -m > dist/build.js
  63.  
  64. pixnwave@localhost:~/dodoc-stable/dodoc-s1/public$ cd ../
  65. pixnwave@localhost:~/dodoc-stable/dodoc-s1$ cp settings.example.json settings.json
  66. pixnwave@localhost:~/dodoc-stable/dodoc-s1$ nano settings.json
  67. pixnwave@localhost:~/dodoc-stable/dodoc-s1$ npm run debug
  68.  
  69. > dodoc@9.1.0 debug
  70. > node --inspect . --debug --debug --verbose
  71.  
  72. Debugger listening on ws://127.0.0.1:9229/286b8ab7-534c-4bbf-8ee4-d4c622f6006b
  73. For help, see: https://nodejs.org/en/docs/inspector
  74. INDEX / found override settings.json
  75. [22:25:38] Sockets module initialized at 20210429_222538
  76. App is electron : false
  77. Starting app dodoc
  78. {
  79. node: '12.18.3',
  80. v8: '7.8.279.23-node.39',
  81. uv: '1.38.0',
  82. zlib: '1.2.11',
  83. brotli: '1.0.7',
  84. ares: '1.16.0',
  85. modules: '72',
  86. nghttp2: '1.41.0',
  87. napi: '6',
  88. llhttp: '2.0.4',
  89. http_parser: '2.9.3',
  90. openssl: '1.1.1g',
  91. cldr: '37.0',
  92. icu: '67.1',
  93. tz: '2019c',
  94. unicode: '13.0'
  95. }
  96. Init module with debug = true and verbose = true
  97. Debug mode is Enabled
  98. ---
  99. [22:25:38] ~ (log) magenta is for functions
  100. [22:25:38] * (log) green is for packets
  101. [22:25:38] - (dev and verbose) gray for regular parsing data
  102. Not logging to a file
  103. [22:25:38] ——— Starting app version 9.1.0
  104. [22:25:38] Emptying temp folder /home/pixnwave/.cache/dodoc_cache
  105. [22:25:38] Content folder dodoc-s1 does not already exists in /home/pixnwave/Documents
  106. [22:25:38] ->duplicating user to create a new one
  107. [22:25:39] Will store contents in: /home/pixnwave/Documents/dodoc-s1
  108. [22:25:39] main.js - Found available port: 1337
  109. [22:25:39] - Starting server 1
  110. [22:25:39] - Starting server 2
  111. [22:25:39] Initializing socket module
  112. [22:25:39] - Starting express-settings
  113. [22:25:39] server-realtime_text_collaboration • init
  114. [22:25:39] server-realtime_text_collaboration • ws init
  115. [22:25:39] ~ REMOTE_API — _initRemoteApi
  116. [22:25:39] Server up and running. Go to https://localhost:1337
  117. [22:25:39]
  118. ^C
  119. pixnwave@localhost:~/dodoc-stable/dodoc-s1$ pm2 restart dodoc-stable
  120. Use --update-env to update environment variables
  121. [PM2] Applying action restartProcessId on app [dodoc-stable](ids: [ 1 ])
  122. [PM2] [dodoc-stable](1) ✓
  123. ⇆ PM2+ activated | Instance Name: localhost-0392 | Dash: https://app.pm2.io/#/r/evdxe6sw5iz0l2z
  124. ┌─────┬─────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
  125. │ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
  126. ├─────┼─────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
  127. │ 0 │ dodoc │ default │ 0.35.2 │ fork │ 45532 │ 23h │ 1 │ online │ 0% │ 52.4mb │ pixnwave │ disabled │
  128. │ 1 │ dodoc-stable │ default │ 0.35.2 │ fork │ 54908 │ 0s │ 3 │ online │ 0% │ 25.2mb │ pixnwave │ disabled │
  129. └─────┴─────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
  130.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement