Closed Imisuuu closed 2 years ago
I guess run npm i @discordjs/opus
with sudo
access. [ Final Code sudo npm i @discordjs/opus
]
I guess run
npm i @discordjs/opus
withsudo
access. [ Final Codesudo npm i @discordjs/opus
]
Tried it and it didn't work.
Same issue, any updates? :(
I'm having similar problems on the pi zero W. sudo doesn't work. Here is a log file of the failure to install. 2022-02-05T15_07_14_342Z-debug.log
I'm having similar problems on the pi zero W. sudo doesn't work. Here is a log file of the failure to install. 2022-02-05T15_07_14_342Z-debug.log
How is that similar to OP issue? OP is getting "Permission denied" error (probably because node-pre-gyp didn't have the +x permission) and you have errors during compilation.
The error you have is somehow related to the architecture of the Pi Zero, I guess. If you read the log:
warning: passing argument 1 of ‘_celt_autocorr’ from incompatible pointer type [-Wincompatible-pointer-types] note: expected ‘const opus_val16 ’ {aka ‘const float ’} but argument is of type ‘const opus_int16 ’ {aka ‘const short int ’} note: expected ‘opus_val32 ’ {aka ‘float ’} but argument is of type ‘opus_int32 ’ {aka ‘int ’} warning: passing argument 1 of ‘celt_pitch_xcorr_c’ from incompatible pointer type [-Wincompatible-pointer-types]
Although these are warnings, it seems something doesn't like to the compiler.
Maybe you can tell us which OS is used and verify which build tools are you using to build it.
When I'm trying to install it on my rpi via npm I get this error Is there a fix?
Further details: