Closed Chooks22 closed 2 years ago
require
/project/node_modules/@discordjs/voice/dist/index.js:1 import path from "path"; ^^^^^^ SyntaxError: Cannot use import statement outside a module
require('@discordjs/voice');
0.7.3
16.13.0
Linux
High (immediate attention needed)
I have the same thing...
This was rather annoying to fix without writing a lot of code, I hope this is finally fixed in 0.7.4 0.7.5 now 👍
Issue description
229 broke CommonJS
require
.Code sample
@discordjs/voice version
0.7.3
Node.js version
16.13.0
Operating system
Linux
Priority this issue should have
High (immediate attention needed)