I am trying to create a discord music bot using Node js, in which I need to install @discordjs/opus.
Upon trying the command
npm install @discordjs/opus
I get the following error:
Asked
Active
Viewed 645 times
-1
-
I think i've narrowed the error down to: ``` fatal error C1083: Cannot open include file: 'config.h': No such file or directory ``` – User1231232323232323232 Jun 09 '21 at 03:38
1 Answers
0
I think you having trouble with build tools try
Note: first you need to install python,after that run this(admin powershell)
npm install -g windows-build-tools && npm install -g node-gyp
If it not solve your problem I would like suggest you to using opusscript
or node-opus
instead

HellCatVN
- 866
- 1
- 6
- 11