This topic was automatically generated from Slack. You can find the original thread here.
Hi all, wondering if I’m doing something dumb. I’m getting a code error that “The requested module ‘@deepgram/sdk’ does not provide an export named ‘Deepgram’” based off the following import statement: **import** { Deepgram } **from** "@deepgram/sdk";
I was wondering if there was a breaking change introduced from a new version (looks like there will be in v3, but the NPM package is still using v2), but from checking the NPM package and GitHub repo it appears the the Deepgram class is indeed exported, so I’m at a bit of a loss… Any help would be much appreciated!
Thanks . Unfortunately, it’s now throwing an error on this line: **const** deepgram = **new** Deepgram(**this**.deepgram.$auth.api_key) “Deepgram is not a constructor”. The source code for the npm package (attached) seems to suggest it should work fine? I feel like Pipedream is not importing the correct npm package…?
On your second suggestion, the built in Deepgram app doesn’t accomplish what I’m hoping for as I’m looking to generate a transcript based on an audio file saved in temp storage and the built in only accepts a URL as an input.