From lukeski , 3 Years ago , written in Plain Text.
Embed
  1. generate-sslcert.sh     package.json
  2. html                    profiles.js
  3. root@minecraft2:/usr/local/games/minecraft # /bin/sh reset_webui.sh
  4. reset_webui.sh: [[: not found
  5. -en Script execution started on:
  6. Mon Mar 29 10:44:26 EDT 2021
  7. -en Updating mineos-node repository...
  8. OK
  9. -en Checking out master branch...
  10. Already on 'master'
  11. OK
  12. -en Resetting directory to official contents...
  13. OK
  14. -en Deleting npm module dependencies and rebuilding...
  15. In file included from ../src/posix.cc:1:
  16. In file included from ../../nan/nan.h:2884:
  17. ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated:
  18.       Use GetBackingStore. See http://crbug.com/v8/9908.
  19.       [-Wdeprecated-declarations]
  20.       data   = static_cast<char*>(buffer->GetContents().Data()) + byte_offset;
  21.                                           ^
  22. /root/.cache/node-gyp/15.9.0/include/node/v8.h:5317:3: note: 'GetContents' has
  23.       been explicitly marked deprecated here
  24.   V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
  25.   ^
  26. /root/.cache/node-gyp/15.9.0/include/node/v8config.h:402:39: note: expanded from
  27.       macro 'V8_DEPRECATE_SOON'
  28. # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
  29.                                       ^
  30. 1 warning generated.
  31. In file included from ../src/userid.cc:11:
  32. In file included from ../../nan/nan.h:2884:
  33. ../../nan/nan_typedarray_contents.h:34:43: warning: 'GetContents' is deprecated:
  34.       Use GetBackingStore. See http://crbug.com/v8/9908.
  35.       [-Wdeprecated-declarations]
  36.       data   = static_cast<char*>(buffer->GetContents().Data()) + byte_offset;
  37.                                           ^
  38. /root/.cache/node-gyp/15.9.0/include/node/v8.h:5317:3: note: 'GetContents' has
  39.       been explicitly marked deprecated here
  40.   V8_DEPRECATE_SOON("Use GetBackingStore. See http://crbug.com/v8/9908.")
  41.   ^
  42. /root/.cache/node-gyp/15.9.0/include/node/v8config.h:402:39: note: expanded from
  43.       macro 'V8_DEPRECATE_SOON'
  44. # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
  45.                                       ^
  46. ../src/userid.cc:47:42: error: too few arguments to function call, single
  47.       argument 'context' was not specified
  48.     group = getgrgid(info[0]->Int32Value());
  49.                      ~~~~~~~~~~~~~~~~~~~ ^
  50. /root/.cache/node-gyp/15.9.0/include/node/v8.h:2915:3: note: 'Int32Value'
  51.       declared here
  52.   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  53.   ^
  54. /root/.cache/node-gyp/15.9.0/include/node/v8config.h:431:31: note: expanded from
  55.       macro 'V8_WARN_UNUSED_RESULT'
  56. #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
  57.                               ^
  58. ../src/userid.cc:75:47: error: too few arguments to function call, single
  59.       argument 'context' was not specified
  60.   String::Utf8Value utfname(info[0]->ToString());
  61.                             ~~~~~~~~~~~~~~~~~ ^
  62. /root/.cache/node-gyp/15.9.0/include/node/v8.h:2856:3: note: 'ToString' declared
  63.       here
  64.   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
  65.   ^
  66. /root/.cache/node-gyp/15.9.0/include/node/v8config.h:431:31: note: expanded from
  67.       macro 'V8_WARN_UNUSED_RESULT'
  68. #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
  69.                               ^
  70. ../src/userid.cc:118:49: error: too few arguments to function call, single
  71.       argument 'context' was not specified
  72.     String::Utf8Value utfname(info[0]->ToString());
  73.                               ~~~~~~~~~~~~~~~~~ ^
  74. /root/.cache/node-gyp/15.9.0/include/node/v8.h:2856:3: note: 'ToString' declared
  75.       here
  76.   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
  77.   ^
  78. /root/.cache/node-gyp/15.9.0/include/node/v8config.h:431:31: note: expanded from
  79.       macro 'V8_WARN_UNUSED_RESULT'
  80. #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
  81.                               ^
  82. ../src/userid.cc:137:41: error: too few arguments to function call, single
  83.       argument 'context' was not specified
  84.     user = getpwuid(info[0]->Int32Value());
  85.                     ~~~~~~~~~~~~~~~~~~~ ^
  86. /root/.cache/node-gyp/15.9.0/include/node/v8.h:2915:3: note: 'Int32Value'
  87.       declared here
  88.   V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
  89.   ^
  90. /root/.cache/node-gyp/15.9.0/include/node/v8config.h:431:31: note: expanded from
  91.       macro 'V8_WARN_UNUSED_RESULT'
  92. #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
  93.                               ^
  94. ../src/userid.cc:155:49: error: too few arguments to function call, single
  95.       argument 'context' was not specified
  96.     String::Utf8Value utfname(info[0]->ToString());
  97.                               ~~~~~~~~~~~~~~~~~ ^
  98. /root/.cache/node-gyp/15.9.0/include/node/v8.h:2856:3: note: 'ToString' declared
  99.       here
  100.   V8_WARN_UNUSED_RESULT MaybeLocal<String> ToString(
  101.   ^
  102. /root/.cache/node-gyp/15.9.0/include/node/v8config.h:431:31: note: expanded from
  103.       macro 'V8_WARN_UNUSED_RESULT'
  104. #define V8_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
  105.                               ^
  106. 1 warning and 5 errors generated.
  107. gmake: *** [userid.target.mk:107: Release/obj.target/userid/src/userid.o] Error1
  108. gyp ERR! build error
  109. gyp ERR! stack Error: `gmake` failed with exit code: 2
  110. gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
  111. gyp ERR! stack     at ChildProcess.emit (node:events:378:20)
  112. gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
  113. gyp ERR! System FreeBSD 12.2-RELEASE-p3
  114. gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
  115. gyp ERR! cwd /usr/local/games/minecraft/node_modules/userid
  116. gyp ERR! node -v v15.9.0
  117. gyp ERR! node-gyp -v v5.1.0
  118. gyp ERR! not ok
  119. npm ERR! code ELIFECYCLE
  120. npm ERR! errno 1
  121. npm ERR! [email protected] install: `node-gyp rebuild`
  122. npm ERR! Exit status 1
  123. npm ERR!
  124. npm ERR! Failed at the [email protected] install script.
  125. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Reply to "npm install error"