Advertisement
Guest User

Untitled

a guest
Nov 29th, 2022
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.92 KB | None | 0 0
  1. drmedic@minecraft:/usr/games/minecraft$ sudo npm install
  2. npm WARN old lockfile
  3. npm WARN old lockfile The package-lock.json file was created with an old version of npm,
  4. npm WARN old lockfile so supplemental metadata must be fetched from the registry.
  5. npm WARN old lockfile
  6. npm WARN old lockfile This is a one-time fix-up, please be patient...
  7. npm WARN old lockfile
  8. npm WARN deprecated har-validator@5.1.3: this library is no longer supported
  9. npm WARN deprecated du@0.1.0: no longer maintained
  10. npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
  11. npm WARN deprecated angular-sanitize@1.5.11: For the actively supported Angular, see https://www.npmjs.com/package/@angular/core. AngularJS support has officially ended. For extended AngularJS support options, see https://goo.gle/angularjs-path-forward.
  12. npm WARN deprecated passport.socketio@3.6.2: Please check the workaround in https://github.com/jfromaniello/passport.socketio/issues/148
  13. npm WARN deprecated debug@3.2.6: 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)
  14. npm WARN deprecated debug@3.2.6: 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)
  15. npm WARN deprecated debug@3.2.6: 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)
  16. npm WARN deprecated code@1.5.0: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
  17. 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)
  18. 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)
  19. 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)
  20. npm WARN deprecated uuid@3.0.1: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
  21. npm WARN deprecated uuid@3.3.3: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
  22. npm WARN deprecated uuid@3.3.3: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
  23. npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
  24. npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
  25. npm WARN deprecated request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142
  26. npm WARN deprecated angular@1.5.11: For the actively supported Angular, see https://www.npmjs.com/package/@angular/core. AngularJS support has officially ended. For extended AngularJS support options, see https://goo.gle/angularjs-path-forward.
  27. npm WARN deprecated angular@1.7.9: For the actively supported Angular, see https://www.npmjs.com/package/@angular/core. AngularJS support has officially ended. For extended AngularJS support options, see https://goo.gle/angularjs-path-forward.
  28. npm WARN deprecated nodeunit@0.11.3: you are strongly encouraged to use other testing options
  29. npm ERR! code 1
  30. npm ERR! path /usr/games/minecraft/node_modules/diskusage
  31. npm ERR! command failed
  32. npm ERR! command sh -c -- node-gyp rebuild
  33. npm ERR! make: Entering directory '/usr/games/minecraft/node_modules/diskusage/build'
  34. npm ERR! CXX(target) Release/obj.target/diskusage/src/main.o
  35. npm ERR! make: Leaving directory '/usr/games/minecraft/node_modules/diskusage/build'
  36. npm ERR! gyp info it worked if it ends with ok
  37. npm ERR! gyp info using node-gyp@9.1.0
  38. npm ERR! gyp info using node@18.7.0 | linux | x64
  39. npm ERR! gyp info find Python using Python version 3.10.7 found at "/usr/bin/python3"
  40. npm ERR! gyp info spawn /usr/bin/python3
  41. npm ERR! gyp info spawn args [
  42. npm ERR! gyp info spawn args '/usr/share/nodejs/node-gyp/gyp/gyp_main.py',
  43. npm ERR! gyp info spawn args 'binding.gyp',
  44. npm ERR! gyp info spawn args '-f',
  45. npm ERR! gyp info spawn args 'make',
  46. npm ERR! gyp info spawn args '-I',
  47. npm ERR! gyp info spawn args '/usr/games/minecraft/node_modules/diskusage/build/config.gypi',
  48. npm ERR! gyp info spawn args '-I',
  49. npm ERR! gyp info spawn args '/usr/share/nodejs/node-gyp/addon.gypi',
  50. npm ERR! gyp info spawn args '-I',
  51. npm ERR! gyp info spawn args '/usr/include/nodejs/common.gypi',
  52. npm ERR! gyp info spawn args '-Dlibrary=shared_library',
  53. npm ERR! gyp info spawn args '-Dvisibility=default',
  54. npm ERR! gyp info spawn args '-Dnode_root_dir=/usr/include/nodejs',
  55. npm ERR! gyp info spawn args '-Dnode_gyp_dir=/usr/share/nodejs/node-gyp',
  56. npm ERR! gyp info spawn args '-Dnode_lib_file=/usr/include/nodejs/<(target_arch)/node.lib',
  57. npm ERR! gyp info spawn args '-Dmodule_root_dir=/usr/games/minecraft/node_modules/diskusage',
  58. npm ERR! gyp info spawn args '-Dnode_engine=v8',
  59. npm ERR! gyp info spawn args '--depth=.',
  60. npm ERR! gyp info spawn args '--no-parallel',
  61. npm ERR! gyp info spawn args '--generator-output',
  62. npm ERR! gyp info spawn args 'build',
  63. npm ERR! gyp info spawn args '-Goutput_dir=.'
  64. npm ERR! gyp info spawn args ]
  65. npm ERR! gyp info spawn make
  66. npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  67. npm ERR! <command-line>: warning: "_GLIBCXX_USE_CXX11_ABI" redefined
  68. npm ERR! <command-line>: note: this is the location of the previous definition
  69. npm ERR! In file included from ../src/main.cpp:3:
  70. npm ERR! ../../nan/nan.h: In function ‘void Nan::AsyncQueueWorker(AsyncWorker*)’:
  71. npm ERR! ../../nan/nan.h:2298:7: warning: cast between incompatible function types from ‘void (*)(uv_work_t*)’ {aka ‘void (*)(uv_work_s*)’} to ‘uv_after_work_cb’ {aka ‘void (*)(uv_work_s*, int)’} [-Wcast-function-type]
  72. npm ERR! 2298 | , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
  73. npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  74. npm ERR! ../../nan/nan.h: In function ‘void Nan::SetAccessor(v8::Local<v8::ObjectTemplate>, v8::Local<v8::String>, GetterCallback, SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, imp::Sig)’:
  75. npm ERR! ../../nan/nan.h:2536:19: warning: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local<v8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)’ is deprecated: Do signature check in accessor [-Wdeprecated-declarations]
  76. npm ERR! 2536 | tpl->SetAccessor(
  77. npm ERR! | ~~~~~~~~~~~~~~~~^
  78. npm ERR! 2537 | name
  79. npm ERR! | ~~~~
  80. npm ERR! 2538 | , getter_
  81. npm ERR! | ~~~~~~~~~
  82. npm ERR! 2539 | , setter_
  83. npm ERR! | ~~~~~~~~~
  84. npm ERR! 2540 | , obj
  85. npm ERR! | ~~~~~
  86. npm ERR! 2541 | , settings
  87. npm ERR! | ~~~~~~~~~~
  88. npm ERR! 2542 | , attribute
  89. npm ERR! | ~~~~~~~~~~~
  90. npm ERR! 2543 | , signature);
  91. npm ERR! | ~~~~~~~~~~~~
  92. npm ERR! In file included from /usr/include/nodejs/deps/v8/include/v8-function.h:15,
  93. npm ERR! from /usr/include/nodejs/deps/v8/include/v8.h:33,
  94. npm ERR! from /usr/include/nodejs/src/node.h:73,
  95. npm ERR! from ../../nan/nan.h:54:
  96. npm ERR! /usr/include/nodejs/deps/v8/include/v8-template.h:838:8: note: declared here
  97. npm ERR! 838 | void SetAccessor(
  98. npm ERR! | ^~~~~~~~~~~
  99. npm ERR! In file included from ../../nan/nan.h:2884:
  100. npm ERR! ../../nan/nan_typedarray_contents.h: In constructor ‘Nan::TypedArrayContents<T>::TypedArrayContents(v8::Local<v8::Value>)’:
  101. npm ERR! ../../nan/nan_typedarray_contents.h:34:43: error: ‘class v8::ArrayBuffer’ has no member named ‘GetContents’
  102. npm ERR! 34 | data = static_cast<char*>(buffer->GetContents().Data()) + byte_offset;
  103. npm ERR! | ^~~~~~~~~~~
  104. npm ERR! ../src/main.cpp: At global scope:
  105. npm ERR! /usr/include/nodejs/src/node.h:862:7: warning: cast between incompatible function types from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
  106. npm ERR! 862 | (node::addon_register_func) (regfunc), \
  107. npm ERR! | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  108. npm ERR! /usr/include/nodejs/src/node.h:896:3: note: in expansion of macro ‘NODE_MODULE_X’
  109. npm ERR! 896 | NODE_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
  110. npm ERR! | ^~~~~~~~~~~~~
  111. npm ERR! ../src/main.cpp:42:1: note: in expansion of macro ‘NODE_MODULE’
  112. npm ERR! 42 | NODE_MODULE(diskusage, Init)
  113. npm ERR! | ^~~~~~~~~~~
  114. npm ERR! make: *** [diskusage.target.mk:114: Release/obj.target/diskusage/src/main.o] Error 1
  115. npm ERR! gyp ERR! build error
  116. npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
  117. npm ERR! gyp ERR! stack at ChildProcess.onExit (/usr/share/nodejs/node-gyp/lib/build.js:201:23)
  118. npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
  119. npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
  120. npm ERR! gyp ERR! System Linux 5.19.0-23-generic
  121. npm ERR! gyp ERR! command "/usr/bin/node" "/usr/share/nodejs/node-gyp/bin/node-gyp.js" "rebuild"
  122. npm ERR! gyp ERR! cwd /usr/games/minecraft/node_modules/diskusage
  123. npm ERR! gyp ERR! node -v v18.7.0
  124. npm ERR! gyp ERR! node-gyp -v v9.1.0
  125. npm ERR! gyp ERR! not ok
  126.  
  127. npm ERR! A complete log of this run can be found in:
  128. npm ERR! /root/.npm/_logs/2022-11-29T06_17_17_424Z-debug-0.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement