Guest User

error

a guest
Jun 8th, 2021
583
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. C:\Users\me\Documents\DiscordBot>npm i @discordjs/opus
  2. npm ERR! code 1
  3. npm ERR! path C:\Users\me\Documents\DiscordBot\node_modules\@discordjs\opus
  4. npm ERR! command failed
  5. npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build
  6. npm ERR! Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
  7. npm ERR!   opus_multistream.c
  8. npm ERR! c:\users\me\documents\discordbot\node_modules\@discordjs\opus\deps\opus\src\opus_multistream.c(29): fatal error C1083: Cannot open include file: 'config.h': No such file or directory [C:\Users\me\Documents\DiscordBot\node_modules\@discordjs\opus\build\deps\libopus.vcxproj]
  9. npm ERR! Failed to execute 'C:\Program Files (x86)\nodejs\node.exe C:\Users\me\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=C:\Users\me\Documents\DiscordBot\node_modules\@discordjs\opus\prebuild\node-v83-napi-v3-win32-ia32-unknown-unknown\opus.node --module_name=opus --module_path=C:\Users\me\Documents\DiscordBot\node_modules\@discordjs\opus\prebuild\node-v83-napi-v3-win32-ia32-unknown-unknown --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
  10. npm ERR! node-pre-gyp info it worked if it ends with ok
  11. npm ERR! node-pre-gyp info using node-pre-gyp@0.3.2
  12. npm ERR! node-pre-gyp info using node@14.17.0 | win32 | ia32
  13. npm ERR! node-pre-gyp info check checked for "C:\Users\me\Documents\DiscordBot\node_modules\@discordjs\opus\prebuild\node-v83-napi-v3-win32-ia32-unknown-unknown\opus.node" (not found)
  14. npm ERR! node-pre-gyp http GET https://github.com/discordjs/opus/releases/download/v0.5.0/opus-v0.5.0-node-v83-napi-v3-win32-ia32-unknown-unknown.tar.gz
  15. npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.5.0/opus-v0.5.0-node-v83-napi-v3-win32-ia32-unknown-unknown.tar.gz
  16. npm ERR! node-pre-gyp WARN Pre-built binaries not installable for @discordjs/opus@0.5.0 and node@14.17.0 (node-v83 ABI, unknown) (falling back to source compile with node-gyp)
  17. npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.5.0/opus-v0.5.0-node-v83-napi-v3-win32-ia32-unknown-unknown.tar.gz
  18. npm ERR! gyp info it worked if it ends with ok
  19. npm ERR! gyp info using node-gyp@7.1.2
  20. npm ERR! gyp info using node@14.17.0 | win32 | ia32
  21. npm ERR! gyp info ok
  22. npm ERR! gyp info it worked if it ends with ok
  23. npm ERR! gyp info using node-gyp@7.1.2
  24. npm ERR! gyp info using node@14.17.0 | win32 | ia32
  25. npm ERR! gyp info find Python using Python version 2.7.15 found at "C:\Users\me\.windows-build-tools\python27\python.exe"
  26. npm ERR! gyp info find VS using VS2017 (15.9.28307.1525) found at:
  27. npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools"
  28. npm ERR! gyp info find VS run with --verbose for detailed information
  29. npm ERR! gyp info spawn C:\Users\me\.windows-build-tools\python27\python.exe
  30. npm ERR! gyp info spawn args [
  31. npm ERR! gyp info spawn args   'C:\\Users\\me\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
  32. npm ERR! gyp info spawn args   'binding.gyp',
  33. npm ERR! gyp info spawn args   '-f',
  34. npm ERR! gyp info spawn args   'msvs',
  35. npm ERR! gyp info spawn args   '-I',
  36. npm ERR! gyp info spawn args   'C:\\Users\\me\\Documents\\DiscordBot\\node_modules\\@discordjs\\opus\\build\\config.gypi',
  37. npm ERR! gyp info spawn args   '-I',
  38. npm ERR! gyp info spawn args   'C:\\Users\\me\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
  39. npm ERR! gyp info spawn args   '-I',
  40. npm ERR! gyp info spawn args   'C:\\Users\\me\\AppData\\Local\\node-gyp\\Cache\\14.17.0\\include\\node\\common.gypi',
  41. npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
  42. npm ERR! gyp info spawn args   '-Dvisibility=default',
  43. npm ERR! gyp info spawn args   '-Dnode_root_dir=C:\\Users\\me\\AppData\\Local\\node-gyp\\Cache\\14.17.0',
  44. npm ERR! gyp info spawn args   '-Dnode_gyp_dir=C:\\Users\\me\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp',
  45. npm ERR! gyp info spawn args   '-Dnode_lib_file=C:\\\\Users\\\\me\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\14.17.0\\\\<(target_arch)\\\\node.lib',
  46. npm ERR! gyp info spawn args   '-Dmodule_root_dir=C:\\Users\\me\\Documents\\DiscordBot\\node_modules\\@discordjs\\opus',
  47. npm ERR! gyp info spawn args   '-Dnode_engine=v8',
  48. npm ERR! gyp info spawn args   '--depth=.',
  49. npm ERR! gyp info spawn args   '--no-parallel',
  50. npm ERR! gyp info spawn args   '--generator-output',
  51. npm ERR! gyp info spawn args   'C:\\Users\\me\\Documents\\DiscordBot\\node_modules\\@discordjs\\opus\\build',
  52. npm ERR! gyp info spawn args   '-Goutput_dir=.'
  53. npm ERR! gyp info spawn args ]
  54. npm ERR! gyp info ok
  55. npm ERR! gyp info it worked if it ends with ok
  56. npm ERR! gyp info using node-gyp@7.1.2
  57. npm ERR! gyp info using node@14.17.0 | win32 | ia32
  58. npm ERR! gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe
  59. npm ERR! gyp info spawn args [
  60. npm ERR! gyp info spawn args   'build/binding.sln',
  61. npm ERR! gyp info spawn args   '/clp:Verbosity=minimal',
  62. npm ERR! gyp info spawn args   '/nologo',
  63. npm ERR! gyp info spawn args   '/p:Configuration=Release;Platform=Win32'
  64. npm ERR! gyp info spawn args ]
  65. npm ERR! gyp ERR! build error
  66. npm ERR! gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
  67. npm ERR! gyp ERR! stack     at ChildProcess.onExit (C:\Users\me\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
  68. npm ERR! gyp ERR! stack     at ChildProcess.emit (events.js:376:20)
  69. npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
  70. npm ERR! gyp ERR! System Windows_NT 10.0.19041
  71. npm ERR! gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Users\\me\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "build" "--fallback-to-build" "--module=C:\\Users\\me\\Documents\\DiscordBot\\node_modules\\@discordjs\\opus\\prebuild\\node-v83-napi-v3-win32-ia32-unknown-unknown\\opus.node" "--module_name=opus" "--module_path=C:\\Users\\me\\Documents\\DiscordBot\\node_modules\\@discordjs\\opus\\prebuild\\node-v83-napi-v3-win32-ia32-unknown-unknown" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=3" "--node_napi_label=napi-v3"
  72. npm ERR! gyp ERR! cwd C:\Users\me\Documents\DiscordBot\node_modules\@discordjs\opus
  73. npm ERR! gyp ERR! node -v v14.17.0
  74. npm ERR! gyp ERR! node-gyp -v v7.1.2
  75. npm ERR! gyp ERR! not ok
  76. npm ERR! node-pre-gyp ERR! build error
  77. npm ERR! node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files (x86)\nodejs\node.exe C:\Users\me\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=C:\Users\me\Documents\DiscordBot\node_modules\@discordjs\opus\prebuild\node-v83-napi-v3-win32-ia32-unknown-unknown\opus.node --module_name=opus --module_path=C:\Users\me\Documents\DiscordBot\node_modules\@discordjs\opus\prebuild\node-v83-napi-v3-win32-ia32-unknown-unknown --napi_version=8 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
  78. npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (C:\Users\me\Documents\DiscordBot\node_modules\@discordjs\node-pre-gyp\lib\util\compile.js:85:20)
  79. npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:376:20)
  80. npm ERR! node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1055:16)
  81. npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
  82. npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.19041
  83. npm ERR! node-pre-gyp ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Users\\me\\Documents\\DiscordBot\\node_modules\\@discordjs\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
  84. npm ERR! node-pre-gyp ERR! cwd C:\Users\me\Documents\DiscordBot\node_modules\@discordjs\opus
  85. npm ERR! node-pre-gyp ERR! node -v v14.17.0
  86. npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.3.2
  87. npm ERR! node-pre-gyp ERR! not ok
  88.  
  89. npm ERR! A complete log of this run can be found in:
  90. npm ERR!     C:\Users\me\AppData\Local\npm-cache\_logs\2021-06-09T03_13_47_569Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment