ehhthing / PokeCord-Pokemon-Announcer

Discord bot that will help your users by announcing a the pokemon that just appeared.
0 stars 2 forks source link

Installing dependencies #2

Closed LunaryUStyle closed 4 years ago

LunaryUStyle commented 4 years ago

Hey ! So I tried to use this bot, but when i want to install dependencies like discord.js and fs, sharp don't want to install. I'm on Windows 10 (x86) and here's what i get when i do npm i --verbose sharp to have a full log :

npm info it worked if it ends with ok
npm verb cli [
npm verb cli   'C:\\Program Files\\nodejs\\node.exe',
npm verb cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli   'i',
npm verb cli   '--verbose',
npm verb cli   'sharp'
npm verb cli ]
npm info using npm@6.14.4
npm info using node@v14.0.0
npm verb npm-session 9d312a1758af6af4
npm http fetch GET 304 https://registry.npmjs.org/sharp 453ms (from cache)
npm timing stage:loadCurrentTree Completed in 1081ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 5ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 268ms
npm http fetch GET 304 https://registry.npmjs.org/color 98ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/simple-get 242ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/fs-copy-file-sync 261ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/prebuild-install 281ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/color-string 87ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/color-convert 146ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/color-name 86ms (from cache)
npm http fetch GET 200 https://registry.npmjs.org/simple-swizzle 5ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-arrayish 75ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/expand-template 94ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/pump 128ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/github-from-package 134ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/node-abi 137ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/tar-fs 232ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/noop-logger 237ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/which-pm-runs 243ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/end-of-stream 81ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/decompress-response 81ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/simple-concat 87ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mimic-response 91ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/tar-stream 84ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/bl 106ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/to-buffer 110ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/buffer-alloc 122ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/xtend 129ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/fs-constants 139ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/buffer-fill 85ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/buffer-alloc-unsafe 92ms (from cache)
npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 1820ms
npm timing stage:loadIdealTree Completed in 2202ms
npm timing stage:generateActionsToTake Completed in 35ms
npm verb correctMkdir C:\Users\Ce Pc\AppData\Roaming\npm-cache\_locks correctMkdir not in flight; initializing
npm verb makeCacheDir UID & GID are irrelevant on win32
npm verb lock using C:\Users\Ce Pc\AppData\Roaming\npm-cache\_locks\staging-619145b738eee341.lock for C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\.staging
npm timing audit submit Completed in 486ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 488ms
npm timing audit body Completed in 10ms
npm timing action:extract Completed in 697ms
npm timing action:finalize Completed in 137ms
npm timing action:refresh-package-json Completed in 1083ms
npm info lifecycle bl@1.2.2~preinstall: bl@1.2.2
npm info lifecycle buffer-alloc-unsafe@1.1.0~preinstall: buffer-alloc-unsafe@1.1.0
npm info lifecycle buffer-fill@1.0.0~preinstall: buffer-fill@1.0.0
npm info lifecycle buffer-alloc@1.2.0~preinstall: buffer-alloc@1.2.0
npm info lifecycle color-name@1.1.3~preinstall: color-name@1.1.3
npm info lifecycle color-convert@1.9.3~preinstall: color-convert@1.9.3
npm info lifecycle end-of-stream@1.4.4~preinstall: end-of-stream@1.4.4
npm info lifecycle expand-template@1.1.1~preinstall: expand-template@1.1.1
npm info lifecycle fs-constants@1.0.0~preinstall: fs-constants@1.0.0
npm info lifecycle github-from-package@0.0.0~preinstall: github-from-package@0.0.0
npm info lifecycle is-arrayish@0.3.2~preinstall: is-arrayish@0.3.2
npm info lifecycle mimic-response@1.0.1~preinstall: mimic-response@1.0.1
npm info lifecycle decompress-response@3.3.0~preinstall: decompress-response@3.3.0
npm info lifecycle node-abi@2.16.0~preinstall: node-abi@2.16.0
npm info lifecycle noop-logger@0.1.1~preinstall: noop-logger@0.1.1
npm info lifecycle pump@2.0.1~preinstall: pump@2.0.1
npm info lifecycle simple-concat@1.0.0~preinstall: simple-concat@1.0.0
npm info lifecycle simple-get@2.8.1~preinstall: simple-get@2.8.1
npm info lifecycle simple-swizzle@0.2.2~preinstall: simple-swizzle@0.2.2
npm info lifecycle color-string@1.5.3~preinstall: color-string@1.5.3
npm info lifecycle pump@1.0.3~preinstall: pump@1.0.3
npm info lifecycle to-buffer@1.1.1~preinstall: to-buffer@1.1.1
npm info lifecycle which-pm-runs@1.0.0~preinstall: which-pm-runs@1.0.0
npm info lifecycle xtend@4.0.2~preinstall: xtend@4.0.2
npm info lifecycle tar-stream@1.6.2~preinstall: tar-stream@1.6.2
npm info lifecycle tar-fs@1.16.3~preinstall: tar-fs@1.16.3
npm info lifecycle color@3.1.2~preinstall: color@3.1.2
npm info lifecycle fs-copy-file-sync@1.1.1~preinstall: fs-copy-file-sync@1.1.1
npm info lifecycle prebuild-install@4.0.0~preinstall: prebuild-install@4.0.0
npm info lifecycle sharp@0.20.8~preinstall: sharp@0.20.8
npm timing action:preinstall Completed in 533ms
npm info linkStuff bl@1.2.2
npm info linkStuff buffer-alloc-unsafe@1.1.0
npm info linkStuff buffer-fill@1.0.0
npm info linkStuff buffer-alloc@1.2.0
npm info linkStuff color-name@1.1.3
npm info linkStuff color-convert@1.9.3
npm info linkStuff end-of-stream@1.4.4
npm info linkStuff expand-template@1.1.1
npm info linkStuff fs-constants@1.0.0
npm info linkStuff github-from-package@0.0.0
npm info linkStuff is-arrayish@0.3.2
npm info linkStuff mimic-response@1.0.1
npm info linkStuff decompress-response@3.3.0
npm info linkStuff node-abi@2.16.0
npm info linkStuff noop-logger@0.1.1
npm info linkStuff pump@2.0.1
npm info linkStuff simple-concat@1.0.0
npm info linkStuff simple-get@2.8.1
npm info linkStuff simple-swizzle@0.2.2
npm info linkStuff color-string@1.5.3
npm info linkStuff pump@1.0.3
npm info linkStuff to-buffer@1.1.1
npm info linkStuff which-pm-runs@1.0.0
npm info linkStuff xtend@4.0.2
npm info linkStuff tar-stream@1.6.2
npm info linkStuff tar-fs@1.16.3
npm info linkStuff color@3.1.2
npm info linkStuff fs-copy-file-sync@1.1.1
npm info linkStuff prebuild-install@4.0.0
npm verb linkBins [
npm verb linkBins   { 'prebuild-install': 'bin.js' },
npm verb linkBins   'C:\\Users\\Ce Pc\\Desktop\\PokeCord-Pokemon-Announcer-master\\node_modules\\.bin',
npm verb linkBins   false
npm verb linkBins ]
npm info linkStuff sharp@0.20.8
npm timing action:build Completed in 324ms
npm info lifecycle bl@1.2.2~install: bl@1.2.2
npm info lifecycle buffer-alloc-unsafe@1.1.0~install: buffer-alloc-unsafe@1.1.0
npm info lifecycle buffer-fill@1.0.0~install: buffer-fill@1.0.0
npm info lifecycle buffer-alloc@1.2.0~install: buffer-alloc@1.2.0
npm info lifecycle color-name@1.1.3~install: color-name@1.1.3
npm info lifecycle color-convert@1.9.3~install: color-convert@1.9.3
npm info lifecycle end-of-stream@1.4.4~install: end-of-stream@1.4.4
npm info lifecycle expand-template@1.1.1~install: expand-template@1.1.1
npm info lifecycle fs-constants@1.0.0~install: fs-constants@1.0.0
npm info lifecycle github-from-package@0.0.0~install: github-from-package@0.0.0
npm info lifecycle is-arrayish@0.3.2~install: is-arrayish@0.3.2
npm info lifecycle mimic-response@1.0.1~install: mimic-response@1.0.1
npm info lifecycle decompress-response@3.3.0~install: decompress-response@3.3.0
npm info lifecycle node-abi@2.16.0~install: node-abi@2.16.0
npm info lifecycle noop-logger@0.1.1~install: noop-logger@0.1.1
npm info lifecycle pump@2.0.1~install: pump@2.0.1
npm info lifecycle simple-concat@1.0.0~install: simple-concat@1.0.0
npm info lifecycle simple-get@2.8.1~install: simple-get@2.8.1
npm info lifecycle simple-swizzle@0.2.2~install: simple-swizzle@0.2.2
npm info lifecycle color-string@1.5.3~install: color-string@1.5.3
npm info lifecycle pump@1.0.3~install: pump@1.0.3
npm info lifecycle to-buffer@1.1.1~install: to-buffer@1.1.1
npm info lifecycle which-pm-runs@1.0.0~install: which-pm-runs@1.0.0
npm info lifecycle xtend@4.0.2~install: xtend@4.0.2
npm info lifecycle tar-stream@1.6.2~install: tar-stream@1.6.2
npm info lifecycle tar-fs@1.16.3~install: tar-fs@1.16.3
npm info lifecycle color@3.1.2~install: color@3.1.2
npm info lifecycle fs-copy-file-sync@1.1.1~install: fs-copy-file-sync@1.1.1
npm info lifecycle prebuild-install@4.0.0~install: prebuild-install@4.0.0
npm info lifecycle sharp@0.20.8~install: sharp@0.20.8

> sharp@0.20.8 install C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

info sharp Using cached C:\Users\Ce Pc\AppData\Roaming\npm-cache\_libvips\libvips-8.6.1-win32-x64.tar.gz
info sharp Creating C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp\build\Release
info sharp Copying DLLs from C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp\vendor\lib to C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp\build\Release
prebuild-install info begin Prebuild-install version 4.0.0
prebuild-install info looking for cached prebuild @ C:\Users\Ce Pc\AppData\Roaming\npm-cache\_prebuilds\68ceda-sharp-v0.20.8-node-v83-win32-x64.tar.gz
prebuild-install http request GET https://github.com/lovell/sharp/releases/download/v0.20.8/sharp-v0.20.8-node-v83-win32-x64.tar.gz
prebuild-install http 404 https://github.com/lovell/sharp/releases/download/v0.20.8/sharp-v0.20.8-node-v83-win32-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=14.0.0 runtime=node arch=x64 platform=win32)

C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp>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 info it worked if it ends with ok
gyp verb cli [
gyp verb cli   'C:\\Program Files\\nodejs\\node.exe',
gyp verb cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli   'rebuild'
gyp verb cli ]
gyp info using node-gyp@5.1.0
gyp info using node@14.0.0 | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb find Python Python is not set from command line or npm configuration
gyp verb find Python Python is not set from environment variable PYTHON
gyp verb find Python checking if "python" can be used
gyp verb find Python - executing "python" to get executable path
gyp verb find Python - executable path is "C:\Users\Ce Pc\AppData\Local\Programs\Python\Python38-32\python.exe"
gyp verb find Python - executing "C:\Users\Ce Pc\AppData\Local\Programs\Python\Python38-32\python.exe" to get version
gyp verb find Python - version is "3.8.2"
gyp info find Python using Python version 3.8.2 found at "C:\Users\Ce Pc\AppData\Local\Programs\Python\Python38-32\python.exe"
gyp verb get node dir no --target version specified, falling back to host node version: 14.0.0
gyp verb command install [ '14.0.0' ]
gyp verb install input version string "14.0.0"
gyp verb install installing version: 14.0.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 14.0.0
gyp verb build dir attempting to create "build" dir: C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp\build
gyp verb build dir "build" dir needed to be created? C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp\build
gyp verb find VS msvs_version not set from command line or npm config
gyp verb find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp verb find VS could not use PowerShell to find Visual Studio 2017 or newer
gyp verb find VS looking for Visual Studio 2015
gyp verb find VS - not found
gyp verb find VS not looking for VS2013 as it is only supported up to Node.js 8
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:1051:16)
gyp ERR! System Windows_NT 10.0.17763
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\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp
gyp ERR! node -v v14.0.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm verb lifecycle sharp@0.20.8~install: unsafe-perm in lifecycle true
npm verb lifecycle sharp@0.20.8~install: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp\node_modules\.bin;C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\.bin;C:\Users\Ce Pc\AppData\Roaming\npm;C:\Program Files\nodejs\;c:\devkitPro\msys2\usr\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Razer Chroma SDK\bin;C:\Program Files\Razer Chroma SDK\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\Git\cmd;C:\Program Files (x86)\Brackets\command;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\nodejs\;C:\Users\Ce Pc\AppData\Local\Programs\Python\Python38-32\Scripts\;C:\Users\Ce Pc\AppData\Local\Programs\Python\Python38-32\;C:\Users\Ce Pc\AppData\Local\Programs\Python\Python36\Scripts\;C:\Users\Ce Pc\AppData\Local\Programs\Python\Python36\;C:\Users\Ce Pc\AppData\Local\Microsoft\WindowsApps;C:\Users\Ce Pc\AppData\Local\Programs\Fiddler;C:\Users\Ce Pc\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Ce Pc\AppData\Local\GitHubDesktop\bin;C:\Program Files\heroku\bin;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.3\bin;;C:\Users\Ce Pc\AppData\Roaming\npm
npm verb lifecycle sharp@0.20.8~install: CWD: C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp
npm info lifecycle sharp@0.20.8~install: Failed to exec install script
npm timing action:install Completed in 10872ms
npm verb unlock done using C:\Users\Ce Pc\AppData\Roaming\npm-cache\_locks\staging-619145b738eee341.lock for C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\.staging
npm timing stage:rollbackFailedOptional Completed in 970ms
npm timing stage:runTopLevelLifecycles Completed in 18120ms
npm WARN discord.js@11.6.4 requires a peer of @discordjs/uws@^10.149.0 but none is installed. You must install peer dependencies yourself.
npm WARN pokemon-detector@1.0.0 No repository field.

npm verb stack Error: sharp@0.20.8 install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
npm verb stack Exit status 1
npm verb stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
npm verb stack     at EventEmitter.emit (events.js:315:20)
npm verb stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
npm verb stack     at ChildProcess.emit (events.js:315:20)
npm verb stack     at maybeClose (internal/child_process.js:1051:16)
npm verb stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
npm verb pkgid sharp@0.20.8
npm verb cwd C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master
npm verb Windows_NT 10.0.17763
npm verb argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i" "--verbose" "sharp"
npm verb node v14.0.0
npm verb npm  v6.14.4
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sharp@0.20.8 install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sharp@0.20.8 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm verb exit [ 1, true ]
npm timing npm Completed in 19508ms

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Ce Pc\AppData\Roaming\npm-cache\_logs\2020-05-01T12_06_00_806Z-debug.log

C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master>npm i pokemon-detector
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/pokemon-detector - Not found
npm ERR! 404
npm ERR! 404  'pokemon-detector@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Ce Pc\AppData\Roaming\npm-cache\_logs\2020-05-01T12_06_13_508Z-debug.log

C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master>npm i --verbose sharp
npm info it worked if it ends with ok
npm verb cli [
npm verb cli   'C:\\Program Files\\nodejs\\node.exe',
npm verb cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli   'i',
npm verb cli   '--verbose',
npm verb cli   'sharp'
npm verb cli ]
npm info using npm@6.14.4
npm info using node@v14.0.0
npm verb npm-session dde0f0985e113169
npm http fetch GET 304 https://registry.npmjs.org/sharp 7108ms (from cache)
npm timing stage:loadCurrentTree Completed in 7701ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 5ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 261ms
npm http fetch GET 200 https://registry.npmjs.org/fs-copy-file-sync 38ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/color 101ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/prebuild-install 209ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/simple-get 215ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/color-string 84ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/color-convert 94ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/color-name 83ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/simple-swizzle 75ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-arrayish 78ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/github-from-package 91ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/node-abi 112ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/expand-template 121ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/noop-logger 230ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/tar-fs 235ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/pump 251ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/which-pm-runs 255ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/end-of-stream 88ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/decompress-response 86ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/simple-concat 107ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mimic-response 88ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/tar-stream 121ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/bl 147ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/buffer-alloc 152ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/xtend 165ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/fs-constants 170ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/to-buffer 174ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/buffer-alloc-unsafe 87ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/buffer-fill 88ms (from cache)
npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 1876ms
npm timing stage:loadIdealTree Completed in 2257ms
npm timing stage:generateActionsToTake Completed in 42ms
npm verb correctMkdir C:\Users\Ce Pc\AppData\Roaming\npm-cache\_locks correctMkdir not in flight; initializing
npm verb makeCacheDir UID & GID are irrelevant on win32
npm verb lock using C:\Users\Ce Pc\AppData\Roaming\npm-cache\_locks\staging-619145b738eee341.lock for C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\.staging
npm timing audit submit Completed in 509ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 511ms
npm timing audit body Completed in 8ms
npm timing action:extract Completed in 650ms
npm timing action:finalize Completed in 118ms
npm timing action:refresh-package-json Completed in 841ms
npm info lifecycle bl@1.2.2~preinstall: bl@1.2.2
npm info lifecycle buffer-alloc-unsafe@1.1.0~preinstall: buffer-alloc-unsafe@1.1.0
npm info lifecycle buffer-fill@1.0.0~preinstall: buffer-fill@1.0.0
npm info lifecycle buffer-alloc@1.2.0~preinstall: buffer-alloc@1.2.0
npm info lifecycle color-name@1.1.3~preinstall: color-name@1.1.3
npm info lifecycle color-convert@1.9.3~preinstall: color-convert@1.9.3
npm info lifecycle end-of-stream@1.4.4~preinstall: end-of-stream@1.4.4
npm info lifecycle expand-template@1.1.1~preinstall: expand-template@1.1.1
npm info lifecycle fs-constants@1.0.0~preinstall: fs-constants@1.0.0
npm info lifecycle github-from-package@0.0.0~preinstall: github-from-package@0.0.0
npm info lifecycle is-arrayish@0.3.2~preinstall: is-arrayish@0.3.2
npm info lifecycle mimic-response@1.0.1~preinstall: mimic-response@1.0.1
npm info lifecycle decompress-response@3.3.0~preinstall: decompress-response@3.3.0
npm info lifecycle node-abi@2.16.0~preinstall: node-abi@2.16.0
npm info lifecycle noop-logger@0.1.1~preinstall: noop-logger@0.1.1
npm info lifecycle pump@2.0.1~preinstall: pump@2.0.1
npm info lifecycle simple-concat@1.0.0~preinstall: simple-concat@1.0.0
npm info lifecycle simple-get@2.8.1~preinstall: simple-get@2.8.1
npm info lifecycle simple-swizzle@0.2.2~preinstall: simple-swizzle@0.2.2
npm info lifecycle color-string@1.5.3~preinstall: color-string@1.5.3
npm info lifecycle pump@1.0.3~preinstall: pump@1.0.3
npm info lifecycle to-buffer@1.1.1~preinstall: to-buffer@1.1.1
npm info lifecycle which-pm-runs@1.0.0~preinstall: which-pm-runs@1.0.0
npm info lifecycle xtend@4.0.2~preinstall: xtend@4.0.2
npm info lifecycle tar-stream@1.6.2~preinstall: tar-stream@1.6.2
npm info lifecycle tar-fs@1.16.3~preinstall: tar-fs@1.16.3
npm info lifecycle color@3.1.2~preinstall: color@3.1.2
npm info lifecycle fs-copy-file-sync@1.1.1~preinstall: fs-copy-file-sync@1.1.1
npm info lifecycle prebuild-install@4.0.0~preinstall: prebuild-install@4.0.0
npm info lifecycle sharp@0.20.8~preinstall: sharp@0.20.8
npm timing action:preinstall Completed in 72ms
npm info linkStuff bl@1.2.2
npm info linkStuff buffer-alloc-unsafe@1.1.0
npm info linkStuff buffer-fill@1.0.0
npm info linkStuff buffer-alloc@1.2.0
npm info linkStuff color-name@1.1.3
npm info linkStuff color-convert@1.9.3
npm info linkStuff end-of-stream@1.4.4
npm info linkStuff expand-template@1.1.1
npm info linkStuff fs-constants@1.0.0
npm info linkStuff github-from-package@0.0.0
npm info linkStuff is-arrayish@0.3.2
npm info linkStuff mimic-response@1.0.1
npm info linkStuff decompress-response@3.3.0
npm info linkStuff node-abi@2.16.0
npm info linkStuff noop-logger@0.1.1
npm info linkStuff pump@2.0.1
npm info linkStuff simple-concat@1.0.0
npm info linkStuff simple-get@2.8.1
npm info linkStuff simple-swizzle@0.2.2
npm info linkStuff color-string@1.5.3
npm info linkStuff pump@1.0.3
npm info linkStuff to-buffer@1.1.1
npm info linkStuff which-pm-runs@1.0.0
npm info linkStuff xtend@4.0.2
npm info linkStuff tar-stream@1.6.2
npm info linkStuff tar-fs@1.16.3
npm info linkStuff color@3.1.2
npm info linkStuff fs-copy-file-sync@1.1.1
npm info linkStuff prebuild-install@4.0.0
npm verb linkBins [
npm verb linkBins   { 'prebuild-install': 'bin.js' },
npm verb linkBins   'C:\\Users\\Ce Pc\\Desktop\\PokeCord-Pokemon-Announcer-master\\node_modules\\.bin',
npm verb linkBins   false
npm verb linkBins ]
npm info linkStuff sharp@0.20.8
npm timing action:build Completed in 91ms
npm info lifecycle bl@1.2.2~install: bl@1.2.2
npm info lifecycle buffer-alloc-unsafe@1.1.0~install: buffer-alloc-unsafe@1.1.0
npm info lifecycle buffer-fill@1.0.0~install: buffer-fill@1.0.0
npm info lifecycle buffer-alloc@1.2.0~install: buffer-alloc@1.2.0
npm info lifecycle color-name@1.1.3~install: color-name@1.1.3
npm info lifecycle color-convert@1.9.3~install: color-convert@1.9.3
npm info lifecycle end-of-stream@1.4.4~install: end-of-stream@1.4.4
npm info lifecycle expand-template@1.1.1~install: expand-template@1.1.1
npm info lifecycle fs-constants@1.0.0~install: fs-constants@1.0.0
npm info lifecycle github-from-package@0.0.0~install: github-from-package@0.0.0
npm info lifecycle is-arrayish@0.3.2~install: is-arrayish@0.3.2
npm info lifecycle mimic-response@1.0.1~install: mimic-response@1.0.1
npm info lifecycle decompress-response@3.3.0~install: decompress-response@3.3.0
npm info lifecycle node-abi@2.16.0~install: node-abi@2.16.0
npm info lifecycle noop-logger@0.1.1~install: noop-logger@0.1.1
npm info lifecycle pump@2.0.1~install: pump@2.0.1
npm info lifecycle simple-concat@1.0.0~install: simple-concat@1.0.0
npm info lifecycle simple-get@2.8.1~install: simple-get@2.8.1
npm info lifecycle simple-swizzle@0.2.2~install: simple-swizzle@0.2.2
npm info lifecycle color-string@1.5.3~install: color-string@1.5.3
npm info lifecycle pump@1.0.3~install: pump@1.0.3
npm info lifecycle to-buffer@1.1.1~install: to-buffer@1.1.1
npm info lifecycle which-pm-runs@1.0.0~install: which-pm-runs@1.0.0
npm info lifecycle xtend@4.0.2~install: xtend@4.0.2
npm info lifecycle tar-stream@1.6.2~install: tar-stream@1.6.2
npm info lifecycle tar-fs@1.16.3~install: tar-fs@1.16.3
npm info lifecycle color@3.1.2~install: color@3.1.2
npm info lifecycle fs-copy-file-sync@1.1.1~install: fs-copy-file-sync@1.1.1
npm info lifecycle prebuild-install@4.0.0~install: prebuild-install@4.0.0
npm info lifecycle sharp@0.20.8~install: sharp@0.20.8

> sharp@0.20.8 install C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

info sharp Using cached C:\Users\Ce Pc\AppData\Roaming\npm-cache\_libvips\libvips-8.6.1-win32-x64.tar.gz
info sharp Creating C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp\build\Release
info sharp Copying DLLs from C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp\vendor\lib to C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp\build\Release
prebuild-install info begin Prebuild-install version 4.0.0
prebuild-install info looking for cached prebuild @ C:\Users\Ce Pc\AppData\Roaming\npm-cache\_prebuilds\68ceda-sharp-v0.20.8-node-v83-win32-x64.tar.gz
prebuild-install http request GET https://github.com/lovell/sharp/releases/download/v0.20.8/sharp-v0.20.8-node-v83-win32-x64.tar.gz
prebuild-install http 404 https://github.com/lovell/sharp/releases/download/v0.20.8/sharp-v0.20.8-node-v83-win32-x64.tar.gz
prebuild-install WARN install No prebuilt binaries found (target=14.0.0 runtime=node arch=x64 platform=win32)

C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp>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 info it worked if it ends with ok
gyp verb cli [
gyp verb cli   'C:\\Program Files\\nodejs\\node.exe',
gyp verb cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli   'rebuild'
gyp verb cli ]
gyp info using node-gyp@5.1.0
gyp info using node@14.0.0 | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb find Python Python is not set from command line or npm configuration
gyp verb find Python Python is not set from environment variable PYTHON
gyp verb find Python checking if "python" can be used
gyp verb find Python - executing "python" to get executable path
gyp verb find Python - executable path is "C:\Users\Ce Pc\AppData\Local\Programs\Python\Python38-32\python.exe"
gyp verb find Python - executing "C:\Users\Ce Pc\AppData\Local\Programs\Python\Python38-32\python.exe" to get version
gyp verb find Python - version is "3.8.2"
gyp info find Python using Python version 3.8.2 found at "C:\Users\Ce Pc\AppData\Local\Programs\Python\Python38-32\python.exe"
gyp verb get node dir no --target version specified, falling back to host node version: 14.0.0
gyp verb command install [ '14.0.0' ]
gyp verb install input version string "14.0.0"
gyp verb install installing version: 14.0.0
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version is already installed, need to check "installVersion"
gyp verb got "installVersion" 9
gyp verb needs "installVersion" 9
gyp verb install version is good
gyp verb get node dir target node version installed: 14.0.0
gyp verb build dir attempting to create "build" dir: C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp\build
gyp verb build dir "build" dir needed to be created? C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp\build
gyp verb find VS msvs_version not set from command line or npm config
gyp verb find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp verb find VS could not use PowerShell to find Visual Studio 2017 or newer
gyp verb find VS looking for Visual Studio 2015
gyp verb find VS - not found
gyp verb find VS not looking for VS2013 as it is only supported up to Node.js 8
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:1051:16)
gyp ERR! System Windows_NT 10.0.17763
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\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp
gyp ERR! node -v v14.0.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm verb lifecycle sharp@0.20.8~install: unsafe-perm in lifecycle true
npm verb lifecycle sharp@0.20.8~install: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp\node_modules\.bin;C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\.bin;C:\Users\Ce Pc\AppData\Roaming\npm;C:\Program Files\nodejs\;c:\devkitPro\msys2\usr\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Razer Chroma SDK\bin;C:\Program Files\Razer Chroma SDK\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\Git\cmd;C:\Program Files (x86)\Brackets\command;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files\nodejs\;C:\Users\Ce Pc\AppData\Local\Programs\Python\Python38-32\Scripts\;C:\Users\Ce Pc\AppData\Local\Programs\Python\Python38-32\;C:\Users\Ce Pc\AppData\Local\Programs\Python\Python36\Scripts\;C:\Users\Ce Pc\AppData\Local\Programs\Python\Python36\;C:\Users\Ce Pc\AppData\Local\Microsoft\WindowsApps;C:\Users\Ce Pc\AppData\Local\Programs\Fiddler;C:\Users\Ce Pc\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Ce Pc\AppData\Local\GitHubDesktop\bin;C:\Program Files\heroku\bin;C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.3\bin;;C:\Users\Ce Pc\AppData\Roaming\npm
npm verb lifecycle sharp@0.20.8~install: CWD: C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\sharp
npm info lifecycle sharp@0.20.8~install: Failed to exec install script
npm timing action:install Completed in 8506ms
npm verb unlock done using C:\Users\Ce Pc\AppData\Roaming\npm-cache\_locks\staging-619145b738eee341.lock for C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master\node_modules\.staging
npm timing stage:rollbackFailedOptional Completed in 628ms
npm timing stage:runTopLevelLifecycles Completed in 21082ms
npm WARN discord.js@11.6.4 requires a peer of @discordjs/uws@^10.149.0 but none is installed. You must install peer dependencies yourself.
npm WARN pokemon-detector@1.0.0 No repository field.

npm verb stack Error: sharp@0.20.8 install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
npm verb stack Exit status 1
npm verb stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
npm verb stack     at EventEmitter.emit (events.js:315:20)
npm verb stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
npm verb stack     at ChildProcess.emit (events.js:315:20)
npm verb stack     at maybeClose (internal/child_process.js:1051:16)
npm verb stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
npm verb pkgid sharp@0.20.8
npm verb cwd C:\Users\Ce Pc\Desktop\PokeCord-Pokemon-Announcer-master
npm verb Windows_NT 10.0.17763
npm verb argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i" "--verbose" "sharp"
npm verb node v14.0.0
npm verb npm  v6.14.4
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sharp@0.20.8 install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sharp@0.20.8 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm verb exit [ 1, true ]
npm timing npm Completed in 23317ms

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Ce Pc\AppData\Roaming\npm-cache\_logs\2020-05-01T12_10_04_105Z-debug.log

Help me please ;-;

iMajestic commented 4 years ago

Try uninstalling sharp npm uninstall sharp and then again install it npm i sharp --save

ehhthing commented 4 years ago
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

Follow the instructions there.