Jump to content

Minecraft server plugin

Doggo lover

I am doing some plugin installation and i found a banning plugin that has a web gui thingy. i am following this guide to install it and i keep getting this error, if anyone could help that would be great! This is the log

Microsoft Windows [Version 10.0.18363.1016]
(c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\->cd C:\Users\-\Desktop\Ban manager

C:\Users\-\Desktop\Ban manager>git clone https://github.com/BanManagement/BanManager-WebUI.git
Cloning into 'BanManager-WebUI'...
remote: Enumerating objects: 39, done.
remote: Counting objects: 100% (39/39), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 5297 (delta 31), reused 27 (delta 22), pack-reused 5258 eceiving objects: 100% (5297/5297), 5.75 MiB | 1.0Receiving objects: 100% (5297/5297), 5.85 MiB | 1.04 MiB/s, done.

Resolving deltas: 100% (3634/3634), done.

C:\Users\-\Desktop\Ban manager>cd banmanager-webui

C:\Users\-\Desktop\Ban manager\BanManager-WebUI>npm ci --production

> @ampproject/toolbox-optimizer@2.6.0 postinstall C:\Users\-\Desktop\Ban manager\BanManager-WebUI\node_modules\@ampproject\toolbox-optimizer
> node lib/warmup.js

AMP OPTIMIZER Downloaded latest AMP runtime data.

> fsevents@1.2.13 install C:\Users\-\Desktop\Ban manager\BanManager-WebUI\node_modules\watchpack-chokidar2\node_modules\fsevents
> node install.js


Skipping 'fsevents' build as platform win32 is not supported

> fsevents@1.2.13 install C:\Users\-\Desktop\Ban manager\BanManager-WebUI\node_modules\next\node_modules\fsevents
> node install.js


Skipping 'fsevents' build as platform win32 is not supported

> core-js@2.6.11 postinstall C:\Users\-\Desktop\Ban manager\BanManager-WebUI\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> ref-napi@1.5.2 install C:\Users\-\Desktop\Ban manager\BanManager-WebUI\node_modules\ref-napi
> node-gyp-build


> ffi-napi@2.5.0 install C:\Users\-\Desktop\Ban manager\BanManager-WebUI\node_modules\ffi-napi
> node-gyp-build


> argon2-ffi@1.2.0 install C:\Users\-\Desktop\Ban manager\BanManager-WebUI\node_modules\argon2-ffi
> node-gyp rebuild


C:\Users\-\Desktop\Ban manager\BanManager-WebUI\node_modules\argon2-ffi>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp ERR! find VS
gyp ERR! find VS msvs_version not set from command line or npm config
gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer
gyp ERR! find VS looking for Visual Studio 2015
gyp ERR! find VS - not found
gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
gyp ERR! find VS
gyp ERR! find VS **************************************************************
gyp ERR! find VS You need to install the latest version of Visual Studio
gyp ERR! find VS including the "Desktop development with C++" workload.
gyp ERR! find VS For more information consult the documentation at:
gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
gyp ERR! find VS **************************************************************
gyp ERR! find VS
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Visual Studio installation to use
gyp ERR! stack     at VisualStudioFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:121:47)
gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:74:16
gyp ERR! stack     at VisualStudioFinder.findVisualStudio2013 (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:351:14)
gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:70:14
gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:372:16
gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\util.js:54:7
gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\util.js:33:16
gyp ERR! stack     at ChildProcess.exithandler (child_process.js:310:5)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
gyp ERR! System Windows_NT 10.0.18363
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\-\Desktop\Ban manager\BanManager-WebUI\node_modules\argon2-ffi
gyp ERR! node -v v12.18.3
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! argon2-ffi@1.2.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the argon2-ffi@1.2.0 install 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!     C:\Users\-\AppData\Roaming\npm-cache\_logs\2020-08-22T20_51_18_772Z-debug.log

C:\Users\-\Desktop\Ban manager\BanManager-WebUI>
C:\Users\-\Desktop\Ban manager\BanManager-WebUI>S msvs_version n
'S' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\-\Desktop\Ban manager\BanManager-WebUI>npm run setup

> bm-ui@1.0.0 setup C:\Users\-\Desktop\Ban manager\BanManager-WebUI
> node bin/run setup

(node:5688) Error Plugin: bm-ui: Could not find argon2 library
module: @oclif/config@1.17.0
task: toCached
plugin: bm-ui
root: C:\Users\---\Desktop\Ban manager\BanManager-WebUI
See more details with DEBUG=*
 »   Error: command setup not found
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! bm-ui@1.0.0 setup: `node bin/run setup`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the bm-ui@1.0.0 setup 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!     C:\Users\----\AppData\Roaming\npm-cache\_logs\2020-08-22T20_52_14_664Z-debug.log

C:\Users\----\Desktop\Ban manager\BanManager-WebUI>node bin setup
internal/modules/cjs/loader.js:968
  throw err;
  ^

Error: Cannot find module 'C:\Users\------\Desktop\Ban manager\BanManager-WebUI\bin'
[90m    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)[39m
[90m    at Function.Module._load (internal/modules/cjs/loader.js:841:27)[39m
[90m    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)[39m
[90m    at internal/main/run_main_module.js:17:47[39m {
  code: [32m'MODULE_NOT_FOUND'[39m,
  requireStack: []
}

C:\Users\-----\Desktop\Ban manager\BanManager-WebUI>node run setup
internal/modules/cjs/loader.js:968
  throw err;
  ^

Error: Cannot find module 'C:\Users\-\Desktop\Ban manager\BanManager-WebUI\run'
[90m    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)[39m
[90m    at Function.Module._load (internal/modules/cjs/loader.js:841:27)[39m
[90m    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)[39m
[90m    at internal/main/run_main_module.js:17:47[39m {
  code: [32m'MODULE_NOT_FOUND'[39m,
  requireStack: []
}

C:\Users\-\Desktop\Ban manager\BanManager-WebUI>

 

Link to comment
Share on other sites

Link to post
Share on other sites

Just a rough guess but do you have Visual Studio 2013 or higher installed, including the C++ module? The log file seems to suggest it needs a function or libraries from VS.

Link to comment
Share on other sites

Link to post
Share on other sites

How do i install that? i have visual studio but i don't  know how to install the libaries?

 

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, DigitalGoat said:

Just a rough guess but do you have Visual Studio 2013 or higher installed, including the C++ module? The log file seems to suggest it needs a function or libraries from VS.

image.png.e7ac45a47d54f08b285c3bd2d5d65e53.pngIs this what that is? If so that is installed.

Link to comment
Share on other sites

Link to post
Share on other sites

46 minutes ago, Doggo lover said:

image.png.e7ac45a47d54f08b285c3bd2d5d65e53.pngIs this what that is? If so that is installed.

Not the redistributables, the actual Visual Studio app (think 2019 community edition is what you want) the plugin seems to require VS to be installed in order to compile itself. 

Link to comment
Share on other sites

Link to post
Share on other sites

On 8/22/2020 at 11:30 PM, DigitalGoat said:

Not the redistributables, the actual Visual Studio app (think 2019 community edition is what you want) the plugin seems to require VS to be installed in order to compile itself. 

Ok thanks, this one was giving me a headache, turns out  it requries the 2017 version to work but now that is good, i have another problem though here is a link to that forum post:

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×