initially it gave me error to provide .js to every imports inside the @dist folder of that module. However, I noticed getting this error inside the imports of cjs folder and esm folder:
Could not find a declaration file for module './lib/microphone.js'. '/Users/aunogarafat/Downloads/Work/conversation/node_modules/@mastra/node-audio/dist/esm/lib/microphone' implicitly has an 'any' type.ts(7016)
Could not find a declaration file for module './lib/microphone.js'. '/Users/aunogarafat/Downloads/Work/conversation/node_modules/@mastra/node-audio/dist/esm/lib/microphone' implicitly has an 'any' type.ts(7016)
after adding .js to every imports, I still get this error from those imports:
Could not find a declaration file for module './lib/microphone.js'. '/Users/aunogarafat/Downloads/Work/conversation/node_modules/@mastra/node-audio/dist/esm/lib/microphone.js' implicitly has an 'any' type.ts(7016)
Could not find a declaration file for module './lib/microphone.js'. '/Users/aunogarafat/Downloads/Work/conversation/node_modules/@mastra/node-audio/dist/esm/lib/microphone.js' implicitly has an 'any' type.ts(7016)
And the development server is now stuck here after adding the .js to the imports:
◐ Preparing development environment...✓ Initial bundle complete◇ Starting Mastra dev server...
◐ Preparing development environment...✓ Initial bundle complete◇ Starting Mastra dev server...