We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13b4cb3 commit befcdb2Copy full SHA for befcdb2
lib/index.js
@@ -1,7 +1,7 @@
1
const { find } = require('node-pre-gyp');
2
const { resolve, join } = require('path');
3
4
-const bindingPath = find(resolve(join(__dirname, './package.json')));
+const bindingPath = find(resolve(join(__dirname, '..', 'package.json')));
5
const binding = require(bindingPath);
6
7
module.exports = binding;
package.json
@@ -28,7 +28,7 @@
28
"binary": {
29
"module_name": "opus",
30
"module_path": "./prebuild/{node_abi}-{platform}-{arch}/",
31
- "remote_path": "{version}",
+ "remote_path": "v{version}",
32
"host": "https://github.com/discordjs/opus/releases/download/"
33
}
34
0 commit comments