Hassan Aftab

Results 6 comments of Hassan Aftab

> I'm not familiar with NestJS. Based on the error message, it seems like it is trying to import the module using `require`, under the hood? Echogarden is a complex...

> I tried to make the default setting for alignment work well for most types of reasonably clean audio (no background music or chatter, no simultaneous multiple speakers). The options...

> I asked Bing Chat. It said that you can use dynamic imports like `const Echogarden = await import('echogarden')` even if the project is set to use CommonJS modules (`"module":...

> I don't really use Discord or chat platforms in general. I can try to provide some assistance here if needed. This can be useful for other people who are...

> It's not clear if the error you're describing is particular to the library, or a general issue about importing an ESM module from a CommonJS TypeScript project. > >...

> Although I develop with Node.js a lot. The issue that you are presenting is not something that I come across often since I always set TypeScript to use ESM...